I know most people have the opposite problem but I actually want to disable the auto reload functionality.
This is how I run my server:
webpack-dev-server --open --progress
This is my dev server config:
devServer: {
contentBase: 'app',
port: 9005,
hot: false,
inline: false
}
Versions:
"webpack": "1.14.0",
"webpack-dev-middleware": "1.9.0",
"webpack-dev-server": "^1.16.2",
"webpack-hot-middleware": "2.13.2",
"webpack-md5-hash": "0.0.5"
With this setup webpack dev server opens the initial page as localhost:9005/webpack-dev-server/
with auto reload on (iframe
mode). When I set inline
to true
then it opens localhost:9005
and auto reload is still on (inline
mode => websockets).
Is there a way to disable auto reload entirely?