Commit ee5e127
committed
fix(@angular/build): ensure
Addresses an issue where could become `ɵgetOrCreateAngularServerApp`
undefined after an error, leading to subsequent rendering failures.
This change modifies the HMR process to include a timestamp when loading. This ensures the server application is always re-evaluated, preventing stale application states.
(cherry picked from commit 80f9082)ɵgetOrCreateAngularServerApp is always defined after errors1 parent 4deac3e commit ee5e127
File tree
2 files changed
+6
-9
lines changed- packages/angular/build/src
- builders/dev-server/vite
- tools/vite/middlewares
2 files changed
+6
-9
lines changedLines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 48 | | |
55 | 49 | | |
56 | 50 | | |
| |||
0 commit comments