Skip to content

Commit fbd0ccb

Browse files
committed
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`?
2 parents 8c008a0 + 0229211 commit fbd0ccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ fn watch() -> notify::Result<()> {
8888
let (tx, rx) = channel();
8989

9090
let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_secs(2))?;
91-
watcher.watch("./exercises", RecursiveMode::Recursive)?;
91+
watcher.watch(Path::new("./exercises"), RecursiveMode::Recursive)?;
9292

9393
let _ignored = verify(None);
9494

0 commit comments

Comments
 (0)