jprichardson/node-death

Considering handling SIGUSR1 and SIGUSR2 by default

jprichardson opened this issue · 2 comments

Considering handling SIGUSR1 and SIGUSR2 by default

Can you catch USR1 in a node program? I thought the runtime used that for attaching debuggers?

endel commented

nodemon sends SIGUSR2 when shutting down the application: https://github.com/remy/nodemon#controlling-shutdown-of-your-script