npm run serve in background
# First install pm2 globally
pm2 --name HelloWorld start npm -- start
# List runnin processes
pm2 ps
# Stop process
pm2 delete <id>
Are there any code examples left?
New code examples in category Shell/Bash
# First install pm2 globally
pm2 --name HelloWorld start npm -- start
# List runnin processes
pm2 ps
# Stop process
pm2 delete <id>