$ScriptPath = Split-Path -Parent $MyInvocation.MyCommand.Definition Set-Location $ScriptPath Write-Host "Starting Back-end (HttpApi.Host)..." -ForegroundColor Green # Start backend in a new window Start-Process powershell -ArgumentList '-NoExit', '-Command', 'dotnet run --project "src/Hua.Abp.Demo.HttpApi.Host/Hua.Abp.Demo.HttpApi.Host.csproj"' Write-Host "Starting Front-end (Angular)..." -ForegroundColor Green Set-Location "$ScriptPath/angular" # Start frontend in a new window using existing script if available if (Test-Path "start.ps1") { Start-Process powershell -ArgumentList '-NoExit', '-File', ".\start.ps1" } else { Start-Process powershell -ArgumentList '-NoExit', '-Command', "yarn; yarn start" } Set-Location $ScriptPath Write-Host "🚀 Services are starting in new windows..." -ForegroundColor Cyan