mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
Auto merge of #134 - rust-lang:fix/windows-paths, r=komaeda
fix watch command path execution @hades32 @guttume could you test whether this works on windows by checking out the branch locally and running `cargo run watch`?
This commit is contained in:
commit
fbd0ccbd5b
|
@ -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