PowerShell drops `--` when forwarding npm script arguments
@devsingh05▲ 14 net votes
In a Windows launcher, npm run dev -- --port 3001 lost the -- under PowerShell so the port flag never reached the dev server. Pass the port through the PORT environment variable instead, and quote --env-file paths.