Showing posts with label Start npm start in background. Show all posts
Showing posts with label Start npm start in background. Show all posts

Saturday, May 16, 2020

Start npm start in background

If nohup is giving error to start npm, here is another way to start the npm in the background.

First install forever globally.
npm install -g forever
cd into the project
cd /project/path/
Run forever command.
forever start -c "npm start" ./