Commit 4115e05
refactor(@angular-devkit/build-angular): directly watch package lock files in esbuild builder
When using the esbuild-based browser application builder in watch mode, all `node_modules`
directories will now be ignored by the file watcher. Instead all relevant package manifests
and lock files for `npm`, `yarn, and `pnpm` will be watched to detect potential changes
to the project's dependencies. This avoids creating a potentially large amount of filesystem
watchers as the node modules directories can be very large.
(cherry picked from commit f99e106)1 parent a778fe6 commit 4115e05
File tree
1 file changed
+22
-7
lines changed- packages/angular_devkit/build_angular/src/builders/browser-esbuild
1 file changed
+22
-7
lines changedLines changed: 22 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
680 | | - | |
681 | | - | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
682 | 688 | | |
683 | 689 | | |
684 | 690 | | |
685 | 691 | | |
686 | 692 | | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
692 | 707 | | |
693 | 708 | | |
694 | 709 | | |
| |||
0 commit comments