Repository navigation
Commit a428021
committed
perf(@angular/build): avoid invalidating Angular diagnostic cache on stylesheet change
Component stylesheets (.css, .scss, .sass, .less) do not impact TypeScript semantic diagnostics or Angular template diagnostics.
When a stylesheet dependency changes during watch rebuilds, avoid deleting the component's cached Angular diagnostics or marking the component source file as affected for diagnostics re-collection.
(cherry picked from commit 0a077ee)1 parent cfaa2c1 commit a428021
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
220 | 223 | | |
221 | 224 | | |
222 | 225 | | |
| |||
0 commit comments