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 { FilesConfig {
watcher: match self.data.files_watcher.as_str() { watcher: match self.data.files_watcher.as_str() {
"notify" => FilesWatcher::Notify, "notify" => FilesWatcher::Notify,
// A fallback for the file watcher, defaulting to use the file watcher client "client" | _ => FilesWatcher::Client,
_ => FilesWatcher::Client,
}, },
exclude: self.data.files_excludeDirs.iter().map(|it| self.root_path.join(it)).collect(), exclude: self.data.files_excludeDirs.iter().map(|it| self.root_path.join(it)).collect(),
} }