analog
analog copied to clipboard
Cant stop ng serve
Please provide the environment you discovered this bug in.
https://stackblitz.com/github/web-dave/analog-project
Which area/package is the issue in?
create-analog
Description
I created the project. Played with analog js (wich is nice btw) but cant stop ng serve
Please provide the exception or error you saw
cli doen not stop running
Other information
All my Angular v18 projects work fine
I would be willing to submit a PR to fix this issue
- [ ] Yes
- [X] No
+1
I've noticed this also. Its something to do with the wrapper around the vite builder. Pressing CTRL+C twice stops it.
ctrl+C twice Doesn't work for me.
even q does not work.
Oh interesting, If you run npx vite instead can you stop it normally? Are you on Windows?
I wonder if we could just add a process.on('SIGINT') and exit the process manually.
It's quite possible, that if the wrapper does not pass down the stdin, the sigkill is just not received by the code that could have received it and gracefully (or not) finish.
This could be due to us wrapping the Nx executors for supporting ng commands. Usually ctrl+c twice works across environments.