Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@aslamdoctor
Last active December 17, 2019 06:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aslamdoctor/a095b3ff2583018f6d782c4abaf09912 to your computer and use it in GitHub Desktop.
Save aslamdoctor/a095b3ff2583018f6d782c4abaf09912 to your computer and use it in GitHub Desktop.
PM2 Commands for Nuxt
npm run build
pm2 start npm -- start # original command
pm2 start npm --name "aslam" -- start # naming the process
# once you name the proces, you can simple do 'pm2 start aslam' and 'pm2 stop aslam'
# other useful commands
pm2 delete all
pm2 stop process_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment