You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug? Bug
What is the current behavior?
The code is compiling correctly, however, the browser does not refresh when updating source code. I must manually refresh the browser. I've tried various options with no luck (hot, polling, etc).
When I run using the CLI with the same .conf file, the browser does refresh automatically.
If the current behavior is a bug, please provide the steps to reproduce.
const path = require('path');
module.exports = {
entry: {
app: path.resolve(__dirname, '../entry.js'),
},
output: {
path: path.resolve(__dirname, '../dest'),
filename: '[name].bundle.js',
},
// I comment out the devServer entry out when running via the node API.
//devServer: {
// contentBase: path.resolve(__dirname, '../dest'),
// publicPath: '/dest/',
// compress: true,
// port: 9000,
// open: true,
// openPage: '',
//},
};
What is the expected behavior?
Browser updates when source code changes.
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention your webpack and Operating System version.
webpack v3.2.0 (wasn't working in v3.1.0 either)
webpack-dev-server 2.5.1
MacOS Sierra 10.12.5
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug? Bug
What is the current behavior?
The code is compiling correctly, however, the browser does not refresh when updating source code. I must manually refresh the browser. I've tried various options with no luck (hot, polling, etc).
When I run using the CLI with the same
.conf
file, the browser does refresh automatically.If the current behavior is a bug, please provide the steps to reproduce.
Pretty straightforward code:
Code to start webpack-dev-server
webpack.dev.conf.js
What is the expected behavior?
Browser updates when source code changes.
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention your webpack and Operating System version.
webpack v3.2.0 (wasn't working in v3.1.0 either)
webpack-dev-server 2.5.1
MacOS Sierra 10.12.5
The text was updated successfully, but these errors were encountered: