I've just realized Webpack HMR is not the same as ...
# javascript
r
I've just realized Webpack HMR is not the same as Webpack Live Reload. Kotlin/JS plugin gives us by default working Live Reload. The old
kotlin-frontend-plugin
was working with HMR, but current plugin gives me errors when I try to enable it:
Copy code
[WDS] App hot update...
[HMR] Checking for updates on the server...
[HMR] Cannot apply update. Need to do a full reload!
 [HMR] Error: Aborted because ./kotlin-dce-dev/template.js is not accepted
Update propagation: ./kotlin-dce-dev/template.js -> 0
    at hotApply (http://localhost:3000/main.bundle.js:485:30)
    at http://localhost:3000/main.bundle.js:323:22
Anyone managed to get fully working HMR?