You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which @angular/* package(s) are the source of the bug?
compiler-cli
Is this a regression?
Yes
Description
Since Angular 19.1.x the --serve-path parameter is ignored by hot template replacements requests. As a result the page is neither updated nor reloaded automatically. A manual reload is required.
Steps to reproduce:
Start the dev server: ng serve --no-hmr --port 5602 --host 127.0.0.1 --serve-path /frontend
Modify a .html file
Result in 19.0.x: The page is automatically reloaded
Result in 19.1.x: Nothing happens. The old page is still shown
Workaround: Start the dev server with: ng serve --no-hmr --port 5602 --host 127.0.0.1 --serve-path /frontend
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Error message: 404 http://localhost:8080/@ng/component?c=src%2Fapp%2Ffs%2Ftestform.component.ts%40TestformComponent&t=1737187096102
Note the missing `/frontend/` before `@ng`
Please provide the environment you discovered this bug in (run ng version)
alan-agius4
changed the title
HRM in Angular 19.1.1 breaks page reload by ignoring --serve-path
HMR in Angular 19.1.1 breaks page reload by ignoring --serve-path
Jan 18, 2025
Which @angular/* package(s) are the source of the bug?
compiler-cli
Is this a regression?
Yes
Description
Since Angular 19.1.x the --serve-path parameter is ignored by hot template replacements requests. As a result the page is neither updated nor reloaded automatically. A manual reload is required.
Steps to reproduce:
ng serve --no-hmr --port 5602 --host 127.0.0.1 --serve-path /frontend
Result in 19.0.x: The page is automatically reloaded
Result in 19.1.x: Nothing happens. The old page is still shown
Workaround: Start the dev server with:
ng serve --no-hmr --port 5602 --host 127.0.0.1 --serve-path /frontend
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
No response
The text was updated successfully, but these errors were encountered: