fix: windows hot reload (#3103)
This commit is contained in:
1 parent
0866aefa33
commit
6c69c2902c
1 file changed
+2
-2
@@ -154,8 +154,8 @@ fn create_notify_watcher(
|
||||
EventKind::Modify(ModifyKind::Name(_)) => true,
|
||||
// The primary modification event on WSL's poll watcher.
|
||||
EventKind::Modify(ModifyKind::Metadata(MetadataKind::WriteTime)) => true,
|
||||
// Catch-all for unknown event types.
|
||||
EventKind::Modify(ModifyKind::Any) => false,
|
||||
// Catch-all for unknown event types (windows)
|
||||
EventKind::Modify(ModifyKind::Any) => true,
|
||||
EventKind::Modify(ModifyKind::Metadata(_)) => false,
|
||||
// Don't care about anything else.
|
||||
EventKind::Create(_) => true,
|
||||
|
||||
Reference in new issue
Block a user