vscode-azurestaticwebapps
vscode-azurestaticwebapps copied to clipboard
There is an extra log in the `start vue-basic-api` terminal after closing the opened webpage
OS: M1/Linux Build Version: 20220513.1 CLI Version: 1.0.0-preview
Repro Steps:
- Clone https://github.com/alexweininger/vue-basic-api -> Open the project in VS Code.
- Open VS Code terminal and run "npm install".
- Go to the "Run and Debug" menu -> Select "Azure Static Web Apps…" -> Select "SWA: Run vue-basic-api" -> Click the "Run" button.
- Close the opened webpage.
- Check whether there is no extra log in the
start vue-basic-apiterminal.
Expect:
There is no extra log in the start vue-basic-api terminal.
Actual:
There is an extra log in the start vue-basic-api terminal.

More Info:
- This issue doesn't reproduce on Windows OS.
- This issue also reproduces for below projects: https://github.com/staticwebdev/angular-basic https://github.com/alexweininger/angular-basic-api https://github.com/alexweininger/nextjs-basic-api https://github.com/alexweininger/svelte-basic-api https://github.com/alexweininger/angular-basic-dotnet
- This issue doesn't reproduce for the ReactSite project. https://github.com/alexweininger/ReactSite
Seems like the CLI handles SIGTERM signals differently now, was this behavior intentionally changed @manekinekko @sinedied?
We initially didn't handle SIGTERM signals, that was an issue on our end, and we had a bunch of folks reporting that. Now the CLI handles all SIGTERM, SIGINT, exit signals.
Can elaborate more on the issue you are having?