Open
Description
Command
serve
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
18
Description
I have upgraded my application from Angular 18 to 19. After a successful migration, any code changes I make are not reflected in the browser, and the application does not auto-reload when I modify the code. Even after making changes, the old version is still displayed.
i have tried below few things
- --no-hmr
- Removed package-lock.json, .angular .vite and reinstalled them.
- adde live reload in angular.json
Minimal Reproduction
After the migration i have run the command ng s . when i open the local server the changes are not reflected in the broswer
Exception or Error
Your Environment
Angular CLI: 19.2.3
Node: 20.19.0
Package Manager: npm 10.8.2
OS: linux x64
Angular: 19.2.2
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
... service-worker
Package Version
------------------------------------------------------------
@angular-devkit/architect 0.1902.3
@angular-devkit/build-angular 19.2.3
@angular-devkit/core 19.2.3
@angular-devkit/schematics 19.2.3
@angular/cdk 19.2.3
@angular/cli 19.2.3
@angular/google-maps 19.2.3
@angular/material 19.2.3
@angular/material-moment-adapter 19.2.3
@schematics/angular 19.2.3
rxjs 7.8.2
typescript 5.5.4
zone.js 0.15.0
Anything else relevant?
No response