Operating System: Windows 10
Node Version: 10.15.0
NPM Version: 6.4.1
webpack Version: 4.29.6
webpack-dev-server Version: 3.2.1
How do you disable file watching / hot reloading? I've been banging my head against the wall for a while now, reading various SO threads and GitHub issues, and yet nothing seems to work.
I've tried the following:
- Setting
hot: false
- Setting
inline: false
- Removing
HotModuleReplacementPlugin from my list of plugins
- Unsetting
publicPath (which actually breaks the UI entirely)
- Setting
watch: false
And yet, every time I save a change to a source file, the dev server rebuilds, messages are sent to the browser console, and (optionally) the page is refreshed.
I really don't understand the last one (watch: false) since it seems like exactly the option I'm looking for, yet it doesn't seem to have any effect. Has anyone actually been able to disable file watching?
Operating System: Windows 10
Node Version: 10.15.0
NPM Version: 6.4.1
webpack Version: 4.29.6
webpack-dev-server Version: 3.2.1
How do you disable file watching / hot reloading? I've been banging my head against the wall for a while now, reading various SO threads and GitHub issues, and yet nothing seems to work.
I've tried the following:
hot: falseinline: falseHotModuleReplacementPluginfrom my list of pluginspublicPath(which actually breaks the UI entirely)watch: falseAnd yet, every time I save a change to a source file, the dev server rebuilds, messages are sent to the browser console, and (optionally) the page is refreshed.
I really don't understand the last one (
watch: false) since it seems like exactly the option I'm looking for, yet it doesn't seem to have any effect. Has anyone actually been able to disable file watching?