aruntk / polymer-webpack-demo

polymer webpack demo using wc-loader
11 stars 4 forks source link

Does this support HMR? #1

Open varunkumar opened 7 years ago

varunkumar commented 7 years ago

On any change to modules, I see that the whole page is getting reloaded instead of the module alone.

aruntk commented 7 years ago

Not yet. But I'm working on implementing HMR. Right now only hot code reload works. Meanwhile you can use https://github.com/NekR/offline-plugin for faster rendering.

patrickjaja commented 7 years ago

Nice project. I agree, it would be epic when we change example-item.html and only that piece of code getting reloaded. Currently all changes in a component result in a page reload.

aruntk commented 7 years ago

@patrickjaja I'll start working on this once I fix other issues. Follow this issue for future updates https://github.com/aruntk/wc-loader/issues/2