Home > OS >  How do PM2 commands on Heroku?
How do PM2 commands on Heroku?

Time:12-19

  • I'm trying to use pm2 on Heroku .
  • when I run: heroku run bash and do a pm2 ls I get an empty list .
  • When I run :heroku ps:exec I get " There was an error connecting to the dyno! "

So How can I use pm2 commands on heroku e.g. : pm2 reload all , pm2 list and so on .

CodePudding user response:

Click on run console then add your commands enter image description here

  • Related