Skip to content

Commit 0229211

Browse files
committed
fix watch command path execution
1 parent c6765eb commit 0229211

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)