I am using webpack devServer. Every time I change my source files the files get built and the page served by devServer gets reloaded. I do not want devServer to reload the page. I want the devServer to only build and serve files while I reload the page manually.
Here is my webpack configuration for DevServer.
devServer: {
contentBase: './dist',
port: 8002,
watchContentBase: false,
},
I tried setting hot: false and hotOnly: false but the devServer still builds and reloads the webpage every time the source file changes.