#HMR does not work

11 messages · Page 1 of 1 (latest)

clever quail
#

It was working before and now it isn’t. It’s pretty weird because everything seems fine — it’s enabled, configured, and everything looks okay. The warning appears in the console, but when I change something it says “Component update sent to clients” and nothing happens in the browser. It doesn’t even reload the page — it just does nothing until I reload manually, and then I can see the change, but I’m losing the state. I really don’t want to rebuild everything or reload manually. Does anyone know what’s going on or has experienced similar issues?

upper elm
#

Often when this happens to me I just rm -rf .angular cache

clever quail
upper elm
#

What version of angular/core are you on?

clever quail
#

20

old cave
#

It stopped working for me when I switched to SSR/SSG

#

I was too lazy to try and fix it so just reloaded manually everytime

#

More gamified lol

woeful plume
#

HMR is definitely still a bit bugged, even more so with ssr.
for me it doesn't happen often enough to be annoying though

upper elm
#

I think HMR and SSR are incompatible due to their rendering model

clever quail