fix(core): run HMR replacement in the zone (#59562) · angular/angular@357795c · GitHub
Skip to content

Commit 357795c

Browse files
crisbetopkozlowski-opensource
authored andcommitted
fix(core): run HMR replacement in the zone (#59562)
Fixes that in some cases the HMR replacement function was being run outside the zone which meant that change detection would break down after a replacement. Fixes #59559. PR Close #59562
1 parent eb0b185 commit 357795c

2 files changed

Lines changed: 90 additions & 36 deletions

File tree

‎packages/core/src/render3/hmr.ts‎

Lines changed: 47 additions & 36 deletions

‎packages/core/test/acceptance/hmr_spec.ts‎

Lines changed: 43 additions & 0 deletions

0 commit comments

Comments
 (0)