mirror of https://github.com/lapce/lapce.git
watch theme folder
This commit is contained in:
parent
a646607044
commit
96c2882110
|
@ -287,6 +287,9 @@ pub fn new(
|
|||
if let Some(path) = Config::settings_file() {
|
||||
let _ = watcher.watch(&path, notify::RecursiveMode::Recursive);
|
||||
}
|
||||
if let Some(path) = Config::themes_folder() {
|
||||
let _ = watcher.watch(&path, notify::RecursiveMode::Recursive);
|
||||
}
|
||||
if let Some(path) = KeyPressData::file() {
|
||||
let _ = watcher.watch(&path, notify::RecursiveMode::Recursive);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue