Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): don't watch nested node_modules
Browse files Browse the repository at this point in the history
… when polling is enabled

Previously the glob didn't catch nested `node_modules`.

Closes #22163
  • Loading branch information
alan-agius4 authored and dgp1130 committed Nov 30, 2021
1 parent 4d918ef commit 647a5f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function getWatchOptions(
): NonNullable<Configuration['watchOptions']> {
return {
poll,
ignored: poll === undefined ? '**/$_lazy_route_resources' : 'node_modules/**',
ignored: poll === undefined ? '**/$_lazy_route_resources' : '**/node_modules/**',
};
}

Expand Down

0 comments on commit 647a5f0

Please sign in to comment.