From 6dcc32c35fe0d575a12277eaf9ec3d39e6fda719 Mon Sep 17 00:00:00 2001 From: Henrique Gemignani Passos Lima Date: Thu, 29 Oct 2026 19:11:42 +0200 Subject: [PATCH] Disable notify_debouncer cache --- objdiff-core/src/build/watcher.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/objdiff-core/src/build/watcher.rs b/objdiff-core/src/build/watcher.rs index f9f8cf9f..63b70387 100644 --- a/objdiff-core/src/build/watcher.rs +++ b/objdiff-core/src/build/watcher.rs @@ -15,7 +15,7 @@ use notify_debouncer_full::{DebounceEventResult, new_debouncer_opt}; pub type Watcher = notify_debouncer_full::Debouncer< notify::RecommendedWatcher, - notify_debouncer_full::RecommendedCache, + notify_debouncer_full::NoCache, >; pub struct WatcherState { @@ -68,7 +68,7 @@ pub fn create_watcher( } Err(errors) => errors.iter().for_each(|e| log::error!("Watch error: {e:?}")), }, - notify_debouncer_full::RecommendedCache::new(), + notify_debouncer_full::NoCache, config, )?; debouncer.watch(base_dir, RecursiveMode::Recursive)?;