diff --git a/packages/angular_devkit/build_angular/src/builders/browser-esbuild/index.ts b/packages/angular_devkit/build_angular/src/builders/browser-esbuild/index.ts index c0ec8e921791..63ee2f5bc4ff 100644 --- a/packages/angular_devkit/build_angular/src/builders/browser-esbuild/index.ts +++ b/packages/angular_devkit/build_angular/src/builders/browser-esbuild/index.ts @@ -645,6 +645,7 @@ export async function* buildEsbuildBrowserInternal( // Ignore all node modules directories to avoid excessive file watchers. // Package changes are handled below by watching manifest and lock files. '**/node_modules/**', + '**/.git/**', ], });