old_contents: var webpack = require('webpack');
  var WebpackDevServer = require('webpack-dev-server');
  var config = require('./webpack.dev.config');
  
  new WebpackDevServer(webpack(config), {
      publicPath: config.output.publicPath,
      hot: true,
      historyApiFallback: true,
      stats: {
          colors: true
      },
  }).listen(3000, 'localhost', function (err, result) {
      if (err) {
          return console.log(err);
      }
  
      console.log('Listening at http://localhost:3000/');
  });
  
new_contents: var webpack = require('webpack');
  var WebpackDevServer = require('webpack-dev-server');
  var config = require('./webpack.dev.config');
  
  new WebpackDevServer(webpack(config), {
      publicPath: config.output.publicPath,
      hot: true,
      historyApiFallback: true,
      headers: {"Access-Control-Allow-Origin": "*"},
      disableHostCheck: true,
      quiet: false, // lets WebpackDashboard do its thing
      stats: {
        colors: true
      }
  }).listen(3000, 'localhost', function (err, result) {
      if (err) {
          return console.log(err);
      }
  
      console.log('Listening at http://localhost:3000/');
  });
  
subject: fix cors