현재 작업 상태 저장

This commit is contained in:
Yun Chan 2026-06-27 11:20:24 +09:00
parent 07cc67761e
commit 6bd91b0d5e
674 changed files with 8726 additions and 298 deletions

View file

@ -1,4 +1,4 @@
<#
<#
.SYNOPSIS
Vignette 로컬 개발 스택(게이트웨이 9099 + API 8000 + 5173) 정리한다.
.DESCRIPTION
@ -6,6 +6,9 @@
.EXAMPLE
powershell -NoProfile -ExecutionPolicy Bypass -File scripts\dev-down.ps1
#>
param(
[int]$ApiPort = 8000
)
$ErrorActionPreference = 'SilentlyContinue'
function Stop-Stale([string]$pattern, [string]$label) {
@ -21,5 +24,9 @@ Write-Host "로컬 dev 스택 종료..."
Stop-Stale 'engine_gateway\.gateway' 'gateway'
Stop-Stale 'app\.main:app' 'api'
Stop-Stale 'vite' 'web'
Get-NetTCPConnection -LocalPort $ApiPort -State Listen -ErrorAction SilentlyContinue |
Select-Object -ExpandProperty OwningProcess -Unique |
Where-Object { $_ -and $_ -ne 0 } |
ForEach-Object { Stop-Process -Id $_ -Force }
Start-Sleep -Seconds 1
Write-Host "완료."