Skip to content

NG_HMR_TEMPLATES not working #29049

@cesco69

Description

@cesco69

Which @angular/* package(s) are the source of the bug?

Don't known / other

Is this a regression?

Yes

Description

I tried the template HMR on a new project created with Angular v19.0.2. As I read some days ago into another issue related to template HMR, there was a problem that's now fixed in the v19.0.1 by this commit... but it isn't working at all: the CLI prints a message saying "Component update sent to client(s).", an event is sent in the Angular websocket but nothing happens.

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)

Angular CLI: 19.0.2
Node: 20.13.1
Package Manager: pnpm 9.1.2
OS: win32 x64

Angular: 19.0.1
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1900.2 (cli-only)
@angular-devkit/build-angular   19.0.2
@angular-devkit/core            19.0.2 (cli-only)
@angular-devkit/schematics      19.0.2 (cli-only)
@angular/cli                    19.0.2
@schematics/angular             19.0.2 (cli-only)
rxjs                            7.8.1
typescript                      5.6.3
zone.js                         0.15.0

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions