Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
module.exports = {
entry: [
'webpack-dev-server/client?http://localhost:8080',
'webpack/hot/only-dev-server',
'./src/index.js'
],
...
devServer: {
...
hot: true
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment