title: Webpack dev server hot mode not working
body: <p>Heres my config:</p>
  
  <pre><code>devServer: {
      contentBase: '/web/dist/',
      hot: true,
      stats: {colors: true},
      inline: true
  }
  </code></pre>
  
  <p>And here's the gulp task im running:</p>
  
  <pre><code>gulp.task('build', ['clean', 'styles', 'bower', 'media', 'data', 'homepage'], function(done) {
      es6promise.polyfill();
  
      console.log('STARTING DEV SERVER...');
  
      server = new WebpackDevServer(webpack(webpackDevConfig), webpackDevConfig.devServer);
      server.listen(8080, '0.0.0.0', function (err, stats) {
          if (err) {
               throw new gutil.PluginError("webpack-dev-server", err);
          }
  
          console.log('DEV SERVER STARTED');
  
          done();
      });
  });
  </code></pre>
  
  <p>Everything works as expected except the hot loading (no refresh or change when I make changes to files). What am I doing wrong here?</p>