From da0a29945c3d37fa99806bd5bcc0c2a0a720118b Mon Sep 17 00:00:00 2001 From: Lubo Slivka Date: Fri, 21 May 2021 16:55:18 +0200 Subject: [PATCH] Fix live reload issue - Due to bug in webpack dev server. See https://github.com/webpack/webpack-dev-server/pull/3271 JIRA: RAIL-3383 --- examples/playground/webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/playground/webpack.config.js b/examples/playground/webpack.config.js index 19b714b86ce..b6ce4363576 100644 --- a/examples/playground/webpack.config.js +++ b/examples/playground/webpack.config.js @@ -87,7 +87,7 @@ module.exports = async (env, argv) => { return smp.wrap({ entry: ["./src/index.tsx"], - target: ["web", "es5"], // support IE11 + target: "web", mode: isProduction ? "production" : "development", plugins, output: { @@ -162,7 +162,7 @@ module.exports = async (env, argv) => { compress: true, port: 8999, stats: "errors-only", - hot: true, + liveReload: true, proxy, }, stats: "errors-only",