Repository navigation
fix(ivy): include NgModule in incremental compilation if template cha… - #31655
petebacondarwin wants to merge 1 commit into
Conversation
…nges Previously if a template changed then we would know to rebuild its component source file, but we were not noticing that its NgModule needed rebuilding too. Now we include resource changes as dependencies when computing which files are unchanged. Fixes angular#31654
d6212de to
ca6aaf9
Compare
|
@alxhub points out that this is not a performant solution because it forces the whole compilation scope (i.e the ngModule and all its declared components, directives and pipes) to be recompiled just for a single template change. Note: the problem is that when the The better solution is to find a way to pass the |
|
Superceded by #31932 |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
…nges
Previously if a template changed then we would know to rebuild its component
source file, but we were not noticing that its NgModule needed rebuilding too.
Now we include resource changes as dependencies when computing which
files are unchanged.
Fixes #31654
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information