forever
CLI tool for ensuring that a given script runs continuously
Note: If you are using forever programatically you should install forever-monitor. You can use forever to run scripts continuously (whether it is written in node.js or not). In addition to passing forever the path to a script (along with accompanying options, described above), you may also pass forever the path to a JSON file containing these options.