Last active
December 17, 2019 06:32
-
-
Save aslamdoctor/a095b3ff2583018f6d782c4abaf09912 to your computer and use it in GitHub Desktop.
PM2 Commands for Nuxt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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