PolymerX/polymer-skeleton

Hot reload breaks the application. Known bug of webpack.

LasaleFamine opened this issue · 3 comments

Running yarn dev:module for develop on browsers that supports type=module script import is causing an error due a known bug of webpack: webpack/webpack#5776

Wait for a fix that should come soon, I hope, we can now disable the hot reload during the development.

ERROR: webpackHotUpdate

WORKAROUND: remove the --hot flag from https://github.com/PolymerX/polymer-skeleton/blob/master/package.json#L15

Since webpack fixes this issue with this PR time ago...is this still valid?
webpack/webpack#5862

I should check before closing this one.

Solved with Webpack 4.