windows: Fix performance issues after trashing or deleting a folder (#27498)
Closes #25247 Since the upstream `Notify` repo hasn't merged the related PR yet, this is basically a temporary patch to work around it. Release Notes: - N/A
This commit is contained in:
parent
9a2dfa687d
commit
d232150d67
3 changed files with 36 additions and 52 deletions
|
@ -38,6 +38,9 @@ impl Watcher for FsWatcher {
|
|||
EventKind::Create(_) => Some(PathEventKind::Created),
|
||||
EventKind::Modify(_) => Some(PathEventKind::Changed),
|
||||
EventKind::Remove(_) => Some(PathEventKind::Removed),
|
||||
// Adding this fix a weird bug on Linux after upgrading notify
|
||||
// https://github.com/zed-industries/zed/actions/runs/14085230504/job/39449448832
|
||||
EventKind::Access(_) => return,
|
||||
_ => None,
|
||||
};
|
||||
let mut path_events = event
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue