summaryrefslogtreecommitdiff
path: root/src/watch.rs
diff options
context:
space:
mode:
authorMo <76752051+mo8it@users.noreply.github.com>2024-04-25 14:43:28 +0200
committerGitHub <noreply@github.com>2024-04-25 14:43:28 +0200
commit88f27a53771a49a4e541627b84cc5dc7ab6f7357 (patch)
treeeba5401fd370e85cf597771b34a042eb5ae65475 /src/watch.rs
parentd8c2ab8349854cbc7f4a994c7413d266cc38bc24 (diff)
parent1f1a62d83ef9398a1a31c904a2ef6d81f5455e59 (diff)
Merge pull request #1959 from rust-lang/output
Improve output
Diffstat (limited to 'src/watch.rs')
-rw-r--r--src/watch.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/watch.rs b/src/watch.rs
index 5ebe526..1e22f59 100644
--- a/src/watch.rs
+++ b/src/watch.rs
@@ -51,7 +51,7 @@ pub fn watch(
// Otherwise, the file watcher exits.
let _debouncer_guard = if let Some(exercise_paths) = notify_exercise_paths {
let mut debouncer = new_debouncer(
- Duration::from_secs(1),
+ Duration::from_millis(500),
DebounceEventHandler {
tx: tx.clone(),
exercise_paths,