-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
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
- This is a bug
- This is a modification request
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
HotModuleReplacementPluginfrom 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?
lunfel, evbo, ammoradi, simenandresen, NtonBala and 1 more