Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@angular-devkit/build-angular): default to watching project root …
…on Windows with application builder When using the `application` or `browser-esbuild` builder in watch mode on Windows, the project root will now be watched by default. This provides a workaround for users of Visual Studio which uses a file save mechanism that causes the watch mode to not correctly trigger. By watching the entire project root, this problem is avoided. However, this may result in additional rebuilds due to changes of unrelated files in the project root. This behavior can be disabled using the environment variable `NG_BUILD_WATCH_ROOT=0`. On non-Windows platforms, disabled is the default. Addresses #26437 (cherry picked from commit 96b5b10)
- Loading branch information