Skip to content

Commit 6cd42bb

Browse files
committed
Add clear break between verify executions
1 parent 4d7ce6e commit 6cd42bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,12 @@ fn watch() -> notify::Result<()> {
8484
let _ignored = verify(None);
8585

8686
loop {
87-
match rx.recv() {
87+
match rx.recv() {
8888
Ok(event) => match event {
8989
DebouncedEvent::Create(b) | DebouncedEvent::Chmod(b) | DebouncedEvent::Write(b) => {
9090
if b.extension() == Some(OsStr::new("rs")) {
91+
println!("----------**********----------");
92+
println!();
9193
let _ignored = verify(Some(b.as_path().to_str().unwrap()));
9294
}
9395
}

0 commit comments

Comments
 (0)