isaacs/node-supervisor — Issue #36: Stop restarting on exit code <> 0
Author: mikl
Created: 2011-12-05 17:37:37+00:00
State: open

I have been using Supervisor for development, and it irks me that if I make a syntax error or something else that will make Node crash immediately when launched, Supervisor will just continue to restart the process, several times a second.

Wouldn't it be a safe assumption that a process that dies within its first second of runtime should not be restarted?