This commit is contained in:
Milo 2021-10-16 15:02:56 +01:00
parent 30be95a821
commit 6f28325830

View File

@ -673,8 +673,7 @@ pub fn files(&self) -> FilesConfig {
FilesConfig {
watcher: match self.data.files_watcher.as_str() {
"notify" => FilesWatcher::Notify,
// A fallback for the file watcher, defaulting to use the file watcher client
_ => FilesWatcher::Client,
"client" | _ => FilesWatcher::Client,
},
exclude: self.data.files_excludeDirs.iter().map(|it| self.root_path.join(it)).collect(),
}