Changes will no longer be recognized if you remove and re-add same component #28956
Labels
angular/build:application
area: @angular/build
freq1: low
Only reported by a handful of users who observe it rarely
severity5: regression
type: bug/fix
Command
serve
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Changes will no longer be recognized if you remove and re-add same component.
Minimal Reproduction
Removing and re-adding the import of the component (
import { TestComponent } from ‘./test/test.component’
), the component in theimports
array and in the template (<app-test>
) leads to that no further changes to this component are recognized.Repro App V18
Problem also in V19
Exception or Error
Your Environment
Anything else relevant?
After clearing the Angular cache with
ng cache clean
and restarting the dev server withng serve
it works again.So probably a caching bug.
The text was updated successfully, but these errors were encountered: