title: How to configure pm2 with webpack for typescripts compile and reload?
body: <p>Is there any boiler plate code to use <code>pm2</code> with <code>webpack</code> watch option for ts files auto hot reload?</p>
  
  <p><code>pm2 start index.js</code> is helpful to run directly, but how to add multiple tasks before doing it like watch files and auto reload using webpack and pm2 from dist folders?</p>