Skip to content

Commit

Permalink
Update src/config/watcher.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jorge Hermo <[email protected]>
  • Loading branch information
amribm and jorgehermo9 committed Sep 15, 2024
1 parent ed86d4a commit 4bee121
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/config/watcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,10 @@ impl Watcher {
fn watch(&mut self, path: &Path, recursive_mode: RecursiveMode) -> Result<(), Error> {
match self {
&mut Watcher::RecommendedWatcher(ref mut watcher) => {
watcher.watch(path, recursive_mode)?
watcher.watch(path, recursive_mode)
}
&mut Watcher::PollWatcher(ref mut watcher) => watcher.watch(path, recursive_mode)?,
&mut Watcher::PollWatcher(ref mut watcher) => watcher.watch(path, recursive_mode),
}
Ok(())
}
}

Expand Down

0 comments on commit 4bee121

Please sign in to comment.