Moar responsive :P

This commit is contained in:
mo8it 2024-04-25 15:22:11 +02:00
parent c1d28b502e
commit c7c8d99680

View file

@ -51,7 +51,7 @@ pub fn watch(
// Otherwise, the file watcher exits. // Otherwise, the file watcher exits.
let _debouncer_guard = if let Some(exercise_names) = notify_exercise_names { let _debouncer_guard = if let Some(exercise_names) = notify_exercise_names {
let mut debouncer = new_debouncer( let mut debouncer = new_debouncer(
Duration::from_millis(500), Duration::from_millis(200),
DebounceEventHandler { DebounceEventHandler {
tx: tx.clone(), tx: tx.clone(),
exercise_names, exercise_names,