Answers for "how to run build and start pm2"

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
2

pm2 --run

pm2 start npm --name AppName -- run start-npm-dev
Posted by: Guest on February-04-2021

Browse Popular Code Answers by Language