title: Create webpack build automatcally on code changes reactjs
body: <p>Thanks in advance for the help. </p>
  
  <p>I have created my project in <strong>react.js</strong> and I am creating it's build with <strong>webpack</strong> and it creates a <code>main.js</code> and <code>index.html</code> file for me.</p>
  
  <p>Now Whenever I make changes in code, I want to run a <code>npm run build</code> command. <strong>In short</strong></p>
  
  <blockquote>
    <p>I want to make build process automatic</p>
  </blockquote>
  
  <p>As If I change in code, The browser will refresh. Now I want to <strong>create build at that time</strong>. </p>