현재 작업 상태 저장

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,5 +1,6 @@
param(
param(
[int]$ApiPort = 8001,
[int]$WebPort = 5174,
[switch]$StopCloudflared
)
@ -9,10 +10,19 @@ Get-CimInstance Win32_Process |
Where-Object { $_.CommandLine -like "*uvicorn app.main:app*--port $ApiPort*" } |
ForEach-Object { Stop-Process -Id $_.ProcessId -Force }
Get-CimInstance Win32_Process |
Where-Object {
$_.Name -eq "node.exe" -and
$_.CommandLine -and
$_.CommandLine -like "*vite*preview*" -and
$_.CommandLine -like "*$WebPort*"
} |
ForEach-Object { Stop-Process -Id $_.ProcessId -Force }
if ($StopCloudflared) {
Get-CimInstance Win32_Process |
Where-Object { $_.Name -eq "cloudflared.exe" -and $_.CommandLine -like "*vignette-config.yml*" } |
ForEach-Object { Stop-Process -Id $_.ProcessId -Force }
}
Write-Host "Stopped public API processes on port $ApiPort"
Write-Host "Stopped public API processes on port $ApiPort and public web preview on port $WebPort"