mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 23:04:17 -05:00
fix watch command path execution
This commit is contained in:
parent
c6765eb3eb
commit
022921168d
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ fn watch() -> notify::Result<()> {
|
||||||
let (tx, rx) = channel();
|
let (tx, rx) = channel();
|
||||||
|
|
||||||
let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_secs(2))?;
|
let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_secs(2))?;
|
||||||
watcher.watch("./exercises", RecursiveMode::Recursive)?;
|
watcher.watch(Path::new("./exercises"), RecursiveMode::Recursive)?;
|
||||||
|
|
||||||
let _ignored = verify(None);
|
let _ignored = verify(None);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue