diff --git a/crates/turborepo-lib/src/globwatcher/mod.rs b/crates/turborepo-lib/src/globwatcher/mod.rs index 235ddaf5a8f81..976ea9e78b11b 100644 --- a/crates/turborepo-lib/src/globwatcher/mod.rs +++ b/crates/turborepo-lib/src/globwatcher/mod.rs @@ -689,7 +689,7 @@ mod test { // dropped when the test ends let task = tokio::task::spawn(async move { task_watcher.watch(token).await }); - + tokio::time::sleep(Duration::from_secs(3)).await; watcher.config.flush().await.unwrap(); std::fs::remove_dir_all(dir.path()).unwrap();