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
Shakapacker assumes the default is disabled: If hmr: true the --hot flag gets added to the webpack-dev-server command, but hmr: false does nothing. To actually disable HMR you must add hot: false to shakapacker.yml or the --no-hot command line flag.
The text was updated successfully, but these errors were encountered:
Starting with version 4, webpack-dev-server defaults to Hot Module Replacement enabled:
https://github.com/webpack/webpack-dev-server/blob/540c43852ea33f9cb18820e1cef05d5ddb86cc3e/CHANGELOG.md?plain=1#L561
https://github.com/webpack/webpack-dev-server/blob/540c43852ea33f9cb18820e1cef05d5ddb86cc3e/lib/Server.js#L1081
Shakapacker assumes the default is disabled: If
hmr: true
the--hot
flag gets added to the webpack-dev-server command, buthmr: false
does nothing. To actually disable HMR you must addhot: false
to shakapacker.yml or the--no-hot
command line flag.The text was updated successfully, but these errors were encountered: