Skip to content

Commit 1423ae3

Browse files
committed
node: refactor watcher
1 parent a656738 commit 1423ae3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

node/src/dev/watcher.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,6 @@ fn build_glob_set(patterns: &[String], logger: &Logger) -> GlobSet {
309309

310310
/// Determines if an event should be processed based on exclusion patterns
311311
fn should_process_event(event: &Event, base_dir: &Path, exclusion_set: &GlobSet) -> bool {
312-
// If no exclusions, process all events
313-
if exclusion_set.is_empty() {
314-
return true;
315-
}
316-
317312
// Check each path in the event
318313
for path in event.paths.iter() {
319314
// Get the relative path from the base directory

0 commit comments

Comments
 (0)