Skip to content

Commit

Permalink
fix(core): do not filter updated files when the native watcher is in …
Browse files Browse the repository at this point in the history
…use (#19757)

(cherry picked from commit e522fcb)
  • Loading branch information
Cammisuli authored and FrozenPandaz committed Oct 20, 2023
1 parent 15f558d commit 31e8519
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 31e8519

Please sign in to comment.