webpack dev server restart does not reflect in browser -


i'm trying write tool gradually builds list of webpack entry points user things. uses webpack dev server. it's on latest webpack (v3) , webpack dev server.

every time user takes action, code runs.

function restartwebpack(newconfig){   server.close();   let compiler = webpack(newconfig);   server = new webpackdevserver(compiler, {     stats: {       colors: true     }   });    server.listen(port); } 

the problem when go browser , try hit new entry point, 404 dev server.

the weird part if open incognito window, new entry point works. have open new incognito window add third new entry point. note have no issues when curl dev server terminal.

i tried clearing cookies , cache data, nothing let me open new entry points short of opening new browser window.

is there option can enable or can new entry points load immediately?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -