Set-StrictMode -Version Latest
$ErrorActionPreference = "Stop"

$backendDir = Split-Path -Parent $MyInvocation.MyCommand.Path
$scriptPath = Join-Path $backendDir "scripts\start-dev.ps1"

if (-not (Test-Path $scriptPath)) {
  throw ("Backend start script not found: " + $scriptPath)
}

Set-Location $backendDir

& $scriptPath
