Hot Module Reload does not seem to be working correctly after upgrading to webpacker 3.0.
The page is receiving the HMR update and page content is changing but then a full refresh is also done.
@krisrang Oh yes, seems like something we introduced with watchContentBase but apparently we seem to have manifest.json in there that will change and it will make the page refresh:
To fix now:
// config/webpack/development.js
const environment = require('./environment')
const config = environment.toWebpackConfig()
config.devServer.watchContentBase = false
module.exports = config
Merged the fix but Keeping this open for reference until we make a new tiny release
Released 3.0.1
Still seeing this, using webpack 3.0.1 and webpack 3.4.1
Tried @gauravtiwari fix, but no success either.
Any ideas?
I wrote a detailed explanation on how to use hot module reloading with Webpacker, that could help you.
Most helpful comment
Still seeing this, using webpack 3.0.1 and webpack 3.4.1
Tried @gauravtiwari fix, but no success either.
Any ideas?