Here are my recently learnt tips for advanced usage of the wonderful Webpack
--hot
does not do would you would expect. webpack --watch
and webpack-dev-server
do what you'd expect --hot
to do, even without that option.--lazy
stops WDS from doing what you'd expect --hot
to do.--hot
allows modules (files) to be updated in place, without reloading the webpage.