Last Updated: February 25, 2016
· landongn

Making your node.js CLI apps run 'forever'

Forever is a small, simple to use daemonizer for node.js.

install it via npm install -g forever. Usage is simple-- where you'd usually have to do something along the lines of nohup node myscript.js > log.txt, forever makes it really quite simple to let the process run in the background without having to manage it or keep your zsh window open.