system-prompts-and-models-o.../salesflow-saas/scripts/kill-port-3000.ps1
Sami Assiri 67fcc35877 chore(dealix): launch checklist, E2E port helper, OpenAPI path scan
- Document verify-launch, py/py-3, E2E, and port 3000 troubleshooting
- Add scripts/kill-port-3000.ps1 for Playwright webServer conflicts
- Increase Playwright webServer timeout to 180s
- Extend verify_frontend_openapi_paths for template literals; empty allowlist
- Commit Next routes.d.ts reference in next-env.d.ts after build

Made-with: Cursor
2026-04-12 23:13:29 +03:00

8 lines
446 B
PowerShell

# Stops processes listening on TCP port 3000 (fixes Playwright webServer "port already in use").
# Run from salesflow-saas: .\scripts\kill-port-3000.ps1
$ErrorActionPreference = "SilentlyContinue"
Get-NetTCPConnection -LocalPort 3000 -ErrorAction SilentlyContinue | ForEach-Object {
Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue
}
Write-Host "Port 3000 cleared (if anything was listening)." -ForegroundColor DarkGray