pm2 start app.js --name "my-api"
pm2 start web.js --name "web-interface"
pm2 stop web-interface
pm3 restart web-interface
pm2 start app.js
pm2 start index.js
pm2 stop index ==> name of your instance
pm2 restart index
pm2 start app.js --name "my-api"
pm2 start web.js --name "web-interface"
pm2 stop web-interface
pm3 restart web-interface
pm2 start app.js
pm2 start index.js
pm2 stop index ==> name of your instance
pm2 restart index