is there a way to delay before re-spawn / re-execution? otherwise CPU goes to 100%
born2net opened this issue · comments
AngularNinja.com commented
using nodemon for a simple express cluster setup.
however, if for some reason the express server crashes (let's say some fatal issue that needs to be resolved by a human),
nodemon will continue and re-spawan express in an infinit loop causing the CPU of the server to get to 100%
Is there a way to tell nodemon to wait like 1 second before re-spwaninfg again?
this will prevent the CPU from going to 100%
the --delay 1000
does not do the trick :(
Thanl you for a great product.
AngularNinja.com commented
will open more details