fix(core): fix wrong loop in file watcher
This commit is contained in:
parent
c79d248812
commit
34f08964d7
|
@ -32,7 +32,7 @@ pub fn initialize_and_spawn(config_dir: &Path, watcher_notify: Sender<()>) -> Re
|
||||||
|
|
||||||
std::thread::Builder::new()
|
std::thread::Builder::new()
|
||||||
.name("watcher".to_string())
|
.name("watcher".to_string())
|
||||||
.spawn(move || loop {
|
.spawn(move || {
|
||||||
watcher_main(&config_dir, &watcher_notify);
|
watcher_main(&config_dir, &watcher_notify);
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user