From 476140fb690b4deecb5c86e1a9fc6d43165372aa Mon Sep 17 00:00:00 2001 From: Jonathan Cammisuli Date: Fri, 20 Oct 2023 10:09:26 -0400 Subject: [PATCH] fix(core): do not filter updated files when the native watcher is in use --- .../daemon/server/project-graph-incremental-recomputation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nx/src/daemon/server/project-graph-incremental-recomputation.ts b/packages/nx/src/daemon/server/project-graph-incremental-recomputation.ts index 915361d631ad3..a6b59dd15b257 100644 --- a/packages/nx/src/daemon/server/project-graph-incremental-recomputation.ts +++ b/packages/nx/src/daemon/server/project-graph-incremental-recomputation.ts @@ -147,7 +147,7 @@ function computeWorkspaceConfigHash( * TODO(Cammisuli): remove after 16.4 - Rust watcher handles nested gitignores */ function filterUpdatedFiles(files: string[]) { - if (files.length === 0) { + if (files.length === 0 || process.env.NX_NATIVE_WATCHER === 'true') { return files; }