title: nodemon not restarting [isomorphic web app]
body: <p>I configured Webpack so that I can have live reloading both in front and back. Front part is working great but server reload is not working.</p>
  
  <p>Basically, when I hit npm start (which runs "webpack-dev-server -d --hot --config webpack.config.js --watch") it creates my bundle.js and then onbuildend it launches nodemon. Nodemon is supposed to watch any changes in my src folder and in server.js.</p>
  
  <p>webpack.config.js</p>
  
  <pre><code>  plugins: [
      new WebpackShellPlugin({onBuildEnd: ['nodemon -V --watch src server.js']})
    ],
    devServer: {
      contentBase: path.resolve(__dirname, "./views"),
      historyApiFallback: true,
      inline: true,
      open: true,
      hot: true,
      host: 'localhost', // Defaults to `localhost`
      port: 3000, // Defaults to 8080
      watchContentBase: true,
      proxy: {
        '/api': {
          target: 'http://localhost:8080',
          secure: false,
          changeOrigin: true,
        }
      }
    },
  </code></pre>
  
  <p>However, whenever I make any changes in my js files in src, nodemon does not restart and I can't see the changes.</p>
  
  <p>OR I get "Error occurred while trying to proxy request /api/signup from localhost:3000 to <a href="http://localhost:8080" rel="nofollow noreferrer">http://localhost:8080</a> (ECONNRESET)" </p>
  
  <p>If, someone can help me to understand theses 2 issues it would be great! thanks.</p>
  
  <p><a href="https://i.stack.imgur.com/nq9DS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nq9DS.png" alt="enter image description here"></a></p>