Right now i am runnign my nodejs application as npm start. i want to run it in background. I found forever package for this but dont know how can i run
npm start
forever
In 2020
Use forever npm package ( https://www.npmjs.com/package/forever )
forever start -c "npm " /path/to/app/dir/
EXAMPLE
./ means current directory
./
forever start -c "npm start" ./