Skip to content

Angular Wont Update code changes while debugging after save #26633

@blogcraft

Description

@blogcraft

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

compiler-cli

Is this a regression?

Yes

Description

Since Angular 17 if I am debugging and app with ng serve, code changes made in my submodules trigger a recompile, browser refreshes, but the same unchanged code is still running.

Please provide a link to a minimal reproduction of the bug

https://github.com/blogcraft/WontUpdateWhileDebugging

Please provide the exception or error you saw

There is no error or Exception, the cli just recompiles as normal and shows the usual chunk files message and the message:

Application bundle generation complete. [0.077 seconds]

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

Angular CLI: 17.0.6
Node: 20.9.0
Package Manager: npm 10.1.0
OS: win32 x64

Angular: 17.0.6
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router, service-worker

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1700.6
@angular-devkit/build-angular   17.0.6
@angular-devkit/core            17.0.6
@angular-devkit/schematics      17.0.6
@angular/cdk                    17.0.3
@angular/material               17.0.3
@schematics/angular             17.0.6
rxjs                            7.8.1
typescript                      5.2.2
zone.js                         0.14.2

Anything else?

To see the behaviour while debugging, try to change the message in the src\app\modules\signed-out-module\signed-out.component.ts file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions