title: Run node server with PM2
body: <p>How could I run <code>node server.js -p</code> by <strong>pm2</strong>?</p>
  
  <p>Scripts of my <code>package.json</code> is like below,</p>
  
  <pre><code> "scripts": {
      "dev": "node server.js",
      "start": "node server.js -p"
    },
  </code></pre>
  
  <p>When I execute <code>npm start</code> everything work truly. But I want to run this command with <strong>pm2</strong>.</p>
  
  <p>To do it when I run <code>pm2 start npm -- start</code>, the process will add to the list of the <strong>pm2</strong> but my app not run!</p>