title: Can pm2 run an 'npm start' script
body: <p>Is there a way for pm2 to run an npm start script or do you just have to run <code>pm2 start app.js</code></p>
  <p>So in development</p>
  <pre><code>npm start
  </code></pre>
  <p>Then in production with pm2 you would run something like</p>
  <pre><code>pm2 start 'npm start'
  </code></pre>
  <p>There is an equivalent way to do this in <code>forever</code>:</p>
  <pre><code>forever start -c &quot;npm start&quot; ./
  </code></pre>