From 7e12a7ca20a2411f24d9b566268eef220b9d004b Mon Sep 17 00:00:00 2001 From: Marlin Baumgart Date: Mon, 24 Dec 2018 17:03:42 +0100 Subject: [PATCH] refs #434 workaround in webpack-dev-server --- webpack.dev.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/webpack.dev.js b/webpack.dev.js index 26c469a8a59..916810f2e3d 100644 --- a/webpack.dev.js +++ b/webpack.dev.js @@ -13,11 +13,15 @@ module.exports = merge(common, { devServer: { contentBase: path.resolve(__dirname), historyApiFallback: true, + // workaround for webpack-dev-server issue, which works around sockjs issue + // for bug status, see https://github.com/webpack/webpack-dev-server/issues/1604 + // we should enable hostCheck in near future... + disableHostCheck: true, publicPath: '/core/', - filename: "js/core.bundle.js", + filename: 'js/core.bundle.js', watchContentBase: true, https: false, compress: true, port: 8300 } -}); +})