Commit cbad575
committed
fix(@angular/build): ignore virtual esbuild paths with (disabled):
Virtual files generated by esbuild for disabled browser fields leak into the
watch list, causing spurious rebuilds in watch mode.
Previously, only paths where the suffix was a Node.js builtin module were
ignored. Now, any path containing `(disabled):` is ignored as it represents
a virtual file that doesn't exist on disk.
Fixes #33160
(cherry picked from commit b06849a)1 parent 6cc9349 commit cbad575
1 file changed
Lines changed: 3 additions & 8 deletions
Lines changed: 3 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | | - | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
| |||
489 | 487 | | |
490 | 488 | | |
491 | 489 | | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
498 | 493 | | |
499 | 494 | | |
500 | 495 | | |
| |||
0 commit comments