node-dev
node-dev copied to clipboard
add --kill timeout option
I sometimes found a situation when child process failed to react on SIGTERM and kill itself in a timely manner (even if it handled SIGTERM), so it is useful to have ability to force child kill after a timeout.
If you ok with this feature, then some questions to answer:
- how to name the parameter
--kill
or more explicit--kill-timeout
? - need to add docs.
- not sure if tests are needed for this.