Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(@angular-devkit/build-angular): only watch used files with application builder #26182

Merged
merged 1 commit into from
Oct 31, 2023

Commits on Oct 31, 2023

  1. fix(@angular-devkit/build-angular): only watch used files with applic…

    …ation builder
    
    When using the application builder in watch mode (including `ng serve`), the file watching
    will now only watch files used or relevant to the used files. Previously, all files within
    the project root were watched. This previous behavior could result in unneeded rebuilds when
    unrelated files were changed. An environment variable named `NG_BUILD_WATCH_ROOT` is also
    now available to enable the previous behavior in cases where it is still preferred as well
    as for testing and debugging purposes.
    clydin committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    a406e5d View commit details
    Browse the repository at this point in the history