현재 작업 상태 저장
This commit is contained in:
parent
07cc67761e
commit
6bd91b0d5e
674 changed files with 8726 additions and 298 deletions
|
|
@ -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 "완료."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue