title: Can I use pm2 to keep a Next.js app running
body: <p>I have an AWS EC2 that is just for keeping my Next.js client side running (there is no backend for it right now). Currently if I go into the terminal and enter <code>npm run develop</code>, the site runs perfectly. However, I want this process to always be running in the background of the instance. Is there a way I can do that with pm2?</p>
  <p>I have it installed globally, but it won't let me run <code>pm2 start npm run develop</code>. BTW yes I want it running in development mode right now.</p>