mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
fix: Some file watching related vfs fixes
This commit is contained in:
parent
cd8eb0fe6d
commit
23613a9de7
4 changed files with 46 additions and 12 deletions
|
@ -136,7 +136,7 @@ impl NotifyActor {
|
|||
Message::Invalidate(path) => {
|
||||
let contents = read(path.as_path());
|
||||
let files = vec![(path, contents)];
|
||||
self.send(loader::Message::Loaded { files });
|
||||
self.send(loader::Message::Changed { files });
|
||||
}
|
||||
},
|
||||
Event::NotifyEvent(event) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue