Skip to content

HMR not working properly #22839

@jonathanwilke

Description

@jonathanwilke

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

core

Is this a regression?

Yes

Description

I cannot get HMR to work properly. It always gives me the following error in the browser console.

browser console

I noticed that for some reason on every save of any file there are two builds, which would at least explain why the file cannot be found. It looks like this in the terminal:

terminal

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in (run ng version)

Angular CLI: 13.2.6
Node: 16.14.0
Package Manager: npm 8.3.1
OS: darwin x64

Angular: 13.2.6
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, material, platform-browser, platform-browser-dynamic
... router

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions