aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_vfs/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_vfs/src/lib.rs')
-rw-r--r--crates/ra_vfs/src/lib.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/ra_vfs/src/lib.rs b/crates/ra_vfs/src/lib.rs
index 48a46d210..ad40db340 100644
--- a/crates/ra_vfs/src/lib.rs
+++ b/crates/ra_vfs/src/lib.rs
@@ -141,9 +141,7 @@ impl Vfs {
141 }; 141 };
142 res.worker.inp.send(task).unwrap(); 142 res.worker.inp.send(task).unwrap();
143 if let Some(ref mut watcher) = res.watcher { 143 if let Some(ref mut watcher) = res.watcher {
144 if let Err(e) = watcher.watch(path) { 144 watcher.watch(path);
145 log::warn!("could not watch \"{}\": {}", path.display(), e);
146 }
147 } 145 }
148 } 146 }
149 let roots = res.roots.iter().map(|(id, _)| id).collect(); 147 let roots = res.roots.iter().map(|(id, _)| id).collect();