start-backend.ps1 325 B

12345678910111213
  1. Set-StrictMode -Version Latest
  2. $ErrorActionPreference = "Stop"
  3. $backendDir = Split-Path -Parent $MyInvocation.MyCommand.Path
  4. $scriptPath = Join-Path $backendDir "scripts\start-dev.ps1"
  5. if (-not (Test-Path $scriptPath)) {
  6. throw ("Backend start script not found: " + $scriptPath)
  7. }
  8. Set-Location $backendDir
  9. & $scriptPath