Skip to content

Commit

Permalink
Auto merge of rust-lang#134 - rust-lang:fix/windows-paths, r=komaeda
Browse files Browse the repository at this point in the history
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`?
  • Loading branch information
yourname committed Apr 3, 2019
2 parents 8aeb522 + d444972 commit 54e40fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 54e40fd

Please sign in to comment.