title: How to run `webpack --watch` using pm2?
body: <p>I'm using <a href="https://www.npmjs.com/package/pm2" rel="nofollow"><code>pm2</code></a> inside <code>gulpfile.js</code> to build dev-server (dev-server consists of <em>sass watch</em>, <em>webpack watch</em> and <em>liveserver</em>)</p>
  
  <p>When I try</p>
  
  <pre><code>pm2 start webpack --name wp -- --watch
  </code></pre>
  
  <p>, webpack does not begin watching files, just compiles it once.</p>
  
  <p>To sum up:<br>
  How to run <code>webpack --watch</code> using pm2?</p>
  
  <hr>
  
  <p>Thanks</p>