Wait with change processing until the vfs is done

This commit is contained in:
Lukas Wirth 2024-08-02 17:09:25 +02:00
parent 8286847bee
commit c6ae9cde99
5 changed files with 34 additions and 30 deletions

View file

@ -61,6 +61,7 @@ type NotifyEvent = notify::Result<notify::Event>;
struct NotifyActor {
sender: loader::Sender,
// FIXME: Consider hashset
watched_entries: Vec<loader::Entry>,
// Drop order is significant.
watcher: Option<(RecommendedWatcher, Receiver<NotifyEvent>)>,