node-supervisor
node-supervisor copied to clipboard
-n success does not work
trafficstars
Looking at the code it seems to handle only "exit" and "error" but not "success".
Proposing the simple fix to the above (line 335): if (noRestartOn == "success" && code == 0 || noRestartOn == "exit" || noRestartOn == "error" && code !== 0) return;
Hi, Thanks for the feedback, will look into it when I find some time.