Tuesday, September 18, 2018

How to do 'npm start' with pm2?

Below is the command to do this


pm2 --name "ms-stage" start npm -- start

by providing the --name , it appears in the list of pm2 items neatly.

references:

No comments:

Post a Comment