Skip to content

Commit 0a09b4d

Browse files
committed
fix: catch any event in case the OS isn't specific about the event.
windows isn't specific about the notify event (closes #430)
1 parent b2136f1 commit 0a09b4d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/service/notify.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ fn handle(event: Event, proj: Arc<Project>) {
9292
if let EventKind::Any
9393
| EventKind::Other
9494
| EventKind::Access(_)
95-
| EventKind::Modify(ModifyKind::Any | ModifyKind::Other | ModifyKind::Metadata(_)) =
96-
event.kind
95+
| EventKind::Modify(ModifyKind::Other | ModifyKind::Metadata(_)) = event.kind
9796
{
9897
return;
9998
};

0 commit comments

Comments
 (0)