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
Documentation states that config.devServercan be used to configure webpack-dev-server, and that webpack-dev-serveraccepts the hot option. However, this webpack.config.js doesn't work:
Documentation states that
config.devServer
can be used to configurewebpack-dev-server
, and thatwebpack-dev-server
accepts thehot
option. However, thiswebpack.config.js
doesn't work:Expected result: Hot Replacement Mode is enabled and working.
Actual result: the
Uncaught Error: [HMR] Hot Module Replacement is disabled
message is printed to the browser console.The cause is probably this check in
webpack/convert-argv.js
that addsHotModuleReplacementPlugin
only when--hot
command-line option is present.The text was updated successfully, but these errors were encountered: