Compare commits

...

2 commits
main ... try

Author SHA1 Message Date
bors
b0cf9a453a Auto merge of #134 - rust-lang:fix/windows-paths, r=<try>
fix watch command path execution

closes #126

@hades32 @guttume could you test whether this works on windows by checking out the branch locally and running `cargo run watch`?
2019-04-02 20:16:36 +00:00
liv
022921168d fix watch command path execution 2019-03-27 10:58:56 +01:00

View file

@ -88,7 +88,7 @@ fn watch() -> notify::Result<()> {
let (tx, rx) = channel();
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);