mirror of
https://github.com/notohh/rustlings.git
synced 2024-10-30 16:59:12 -04:00
commit
5bcd2cee1d
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ fn watch(exercises: &[Exercise], verbose: bool) -> notify::Result<WatchStatus> {
|
||||||
let (tx, rx) = channel();
|
let (tx, rx) = channel();
|
||||||
let should_quit = Arc::new(AtomicBool::new(false));
|
let should_quit = Arc::new(AtomicBool::new(false));
|
||||||
|
|
||||||
let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_secs(2))?;
|
let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_secs(1))?;
|
||||||
watcher.watch(Path::new("./exercises"), RecursiveMode::Recursive)?;
|
watcher.watch(Path::new("./exercises"), RecursiveMode::Recursive)?;
|
||||||
|
|
||||||
clear_screen();
|
clear_screen();
|
||||||
|
|
Loading…
Reference in a new issue