Skip to content

Commit

Permalink
fix(core): do not filter updated files when the native watcher is in use
Browse files Browse the repository at this point in the history
  • Loading branch information
Cammisuli committed Oct 20, 2023
1 parent b30f3c5 commit 476140f
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 476140f

Please sign in to comment.