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:
parent
ae2c93786d
commit
7d892d003d
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user