Skip to content

Commit

Permalink
Auto merge of #134 - rust-lang:fix/windows-paths, r=<try>
Browse files Browse the repository at this point in the history
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`?
  • Loading branch information
bors committed Apr 2, 2019
2 parents 8c008a0 + 0229211 commit b0cf9a4
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 b0cf9a4

Please sign in to comment.