Answers for "npm start with pm2"

4

pm2 to start npm run dev

pm2 start "npm run dev" --name myAppName
Posted by: Guest on November-19-2020
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 start npm start

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

how to run script command in pm2

pm2 start npm --name "my-app-name" -- run "npm:script"
Posted by: Guest on September-18-2020
2

pm2 node start

# only start will make it
pm2 start app.js
Posted by: Guest on February-12-2021
1

node server start using pm2

pm2 start app.js -o "/dev/null" -e "/dev/null"
Posted by: Guest on June-02-2021

Browse Popular Code Answers by Language