Skip to content

Commit

Permalink
fix watch command path execution
Browse files Browse the repository at this point in the history
  • Loading branch information
komaeda committed Mar 27, 2019
1 parent c6765eb commit 0229211
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 0229211

Please sign in to comment.