From 952e249fe429ab9c88ca39368e892129f168e3e6 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Tue, 27 Dec 2016 04:43:47 +0000 Subject: [PATCH] Make HMR work when app is ran on web host --- webpack.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index f67948c..72dc0b7 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -4,7 +4,7 @@ var webpack = require('webpack'); module.exports = { devtool: 'eval', entry: [ - 'webpack-dev-server/client?http://localhost:3000', + 'webpack-dev-server/client?https://notica.us', 'webpack/hot/only-dev-server', './src/index' ], @@ -17,6 +17,9 @@ module.exports = { new webpack.HotModuleReplacementPlugin(), new webpack.NoErrorsPlugin() ], + watchOptions: { + poll: true + }, module: { loaders: [{ test: /\.js$/,