summaryrefslogtreecommitdiff
path: root/support/texlab/src/workspace/storage.rs
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/src/workspace/storage.rs')
-rw-r--r--support/texlab/src/workspace/storage.rs11
1 files changed, 10 insertions, 1 deletions
diff --git a/support/texlab/src/workspace/storage.rs b/support/texlab/src/workspace/storage.rs
index 964535a718..5f067a16aa 100644
--- a/support/texlab/src/workspace/storage.rs
+++ b/support/texlab/src/workspace/storage.rs
@@ -1,5 +1,10 @@
-use std::sync::{Arc, Mutex};
+use std::{
+ path::PathBuf,
+ sync::{Arc, Mutex},
+};
+use anyhow::Result;
+use notify::RecursiveMode;
use petgraph::{graphmap::UnGraphMap, visit::Dfs};
use rustc_hash::{FxHashMap, FxHashSet};
@@ -133,4 +138,8 @@ impl Workspace for Storage {
Some(WorkspaceSubset { documents })
}
+
+ fn watch(&self, _path: PathBuf, _mode: RecursiveMode) -> Result<()> {
+ Ok(())
+ }
}