Skip to content

Commit

Permalink
fix: watch should ignore .node (#840)
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc authored Jan 4, 2024
1 parent eafa706 commit e8feba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/mako/src/watch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ impl Watch {

fn should_ignore_watch(path: &Path) -> bool {
let path = path.to_string_lossy();
let ignore_list = [".git", "node_modules", ".DS_Store", "dist"];
let ignore_list = [".git", "node_modules", ".DS_Store", "dist", ".node"];
ignore_list.iter().any(|ignored| path.ends_with(ignored))
}

Expand Down

0 comments on commit e8feba3

Please sign in to comment.