Skip to content

watch did not clean up old files #26595

@HCenggel

Description

@HCenggel

Command

build

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

v17

Description

Generate a project when editing html and js files
There are more and more files in the dist directory when npm run watch

Minimal Reproduction

Default project configuration

Exception or Error

no

Your Environment

Angular CLI: 17.0.5
Node: 18.17.0
Package Manager: npm 9.6.7
OS: win32 x64

Angular:
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1700.5 (cli-only)
@angular-devkit/core         17.0.5 (cli-only)
@angular-devkit/schematics   17.0.5 (cli-only)
@schematics/angular          17.0.5 (cli-only)

Anything else relevant?

no

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions