Answers for "how to run server.js file with pm2 start"

2

how to run script command in pm2

pm2 start npm --name "myApp" -- run "start:test"

pm2 start npm --name "myApp" -- run "start:staging"

pm2 start npm --name "myApp" -- run "start:production"
Posted by: Guest on September-18-2020
5

pm2 starts npm run start

pm2 start npm --name "app name" -- start
Posted by: Guest on November-11-2020

Browse Popular Code Answers by Language