You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nodemon uses the HUP signal to restart the sub process:
$ nodemon -V empty.js
[nodemon] 2.0.14
[nodemon] to restart at any time, enter `rs`
[nodemon] or send SIGHUP to 52589 to restart
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node empty.js`
[nodemon] forking
[nodemon] child pid: 52592
So when you send HUP to nodemon, it's handling the signal.
node@v14.3.0, linux@4.15.0-142-generic
nodemon -v
: 2.0.14zsh
Expected behaviour
nodemon did exit
Actual behaviour
nodemon is still running
Steps to reproduce
See above
Any normal linux process is terminated when its terminal is closed. Except nodemon.
This project's readme advertises automatic restarting, but not SIGHUP immunity. Not knowing this leads to hard-to-debug issues like this one.
Is this behavior documented? Is there a rationale behind it? Is there a flag to disable it?
Thank you!
The text was updated successfully, but these errors were encountered: