title: Waiting for webpack bundling before launching nodemon
body: <p>I have a nodejs project written in Typescript. Therefore, i have webpack using a typescript loader that transpiles my code in Javascript and bundles it in a server.js file (in a dist folder)</p>
  
  <p>When in developement conditions, my webpack runs with its watcher ON and so does nodemon.</p>
  
  <p>Problem is, when i launch my script for the first time combining webpack and nodemon, since webpack is in watch mode it doesn't have an exit code saying that everything is ok, nodemon script can be started. If i run them simultaneously, nodemon will launch faster than webpack and since server.js file doesn't yet exist, it will crash at the start.</p>
  
  <p>I want to launch thanks to one single command both scripts but make nodemon command wait for the bundling to be done.</p>