1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

apply HMR at least for css/styles and use manual page reload on app/scripts change

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman 2022-02-14 14:02:23 +02:00
parent ae2c93786d
commit 7d892d003d

View File

@ -30,7 +30,8 @@ export function createDevServer(lensProxyPort: number): DevServer {
host: "localhost",
port: webpackDevServerPort,
static: buildDir, // aka `devServer.contentBase` in webpack@4
hot: true, // enable HMR when supported by modules or page refresh by default {liveReload:true}
hot: "only", // use HMR only without errors
liveReload: false,
proxy: {
"*": {
router(req) {