Add clear break between verify executions

This commit is contained in:
Andrew Bagshaw 2019-03-13 14:08:28 -07:00
parent 4d7ce6e571
commit 6cd42bb821
1 changed files with 3 additions and 1 deletions

View File

@ -88,6 +88,8 @@ fn watch() -> notify::Result<()> {
Ok(event) => match event {
DebouncedEvent::Create(b) | DebouncedEvent::Chmod(b) | DebouncedEvent::Write(b) => {
if b.extension() == Some(OsStr::new("rs")) {
println!("----------**********----------");
println!();
let _ignored = verify(Some(b.as_path().to_str().unwrap()));
}
}