Created
June 6, 2018 12:26
-
-
Save kumarldh/9029c56a80ab65153ef465756a9059f3 to your computer and use it in GitHub Desktop.
run pm2 with watch and inspect
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
./node_modules/pm2/bin/pm2 delete all; ./node_modules/pm2/bin/pm2 start ./{path to server js} --watch --node-args='--inspect' --no-daemon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment