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
v18
Description
I have a added the new server routes released in v19 and any changes made to the code does not reload the page in the browser.
I can see the app rebuilds in the terminal and "Page reload sent to client(s)."
navigating between routes using buttons in the app does not reflect the latest changes either.
refreshing the page/changing route in the url gets the latest changes
I am not sure if the cause of the issue is the server routes, but my v18 branch without server routes does not have this issue.
Minimal Reproduction
I have created a minimal repo to illustrate the issue (Note: I haven't tried a v19 app without serve routes yet, will check tomorrow)
https://github.com/Siddhu-K/ssg-csr
run ng s
make any change, The app rebuilds and "Page reload sent to client(s). " in the terminal but the browser does not refresh and changes are not reflected.
navigate with buttons, New changes not reflected
navigate with browser url/ refresh the page, New changes can be seen.
Exception or Error
Your Environment
Angular CLI: 19.0.2
Node: 22.4.0
Package Manager: npm 10.9.1
OS: win32 x64
Angular: 19.0.1
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-Package Version
Package Version
---------------------------------------------------------@angular-devkit/architect 0.1900.2
@angular-devkit/build-angular 19.0.2
@angular-devkit/core 19.0.2
@angular-devkit/schematics 19.0.2
@angular/cli 19.0.2
@angular/ssr 19.0.2
@schematics/angular 19.0.2
rxjs 7.8.1
typescript 5.6.3
zone.js 0.15.0
Anything else relevant?
No response