Fix inotify watch failing thanks to vim idiocy

This commit is contained in:
Luke D. Jones
2024-01-23 22:44:20 +13:00
parent 86cbef83b6
commit 84183288ec
2 changed files with 62 additions and 27 deletions

View File

@@ -69,7 +69,11 @@ async fn start_daemon() -> Result<(), Box<dyn Error>> {
// supported.add_to_server(&mut connection).await;
match CtrlPlatform::new(config.clone(), &cfg_path) {
match CtrlPlatform::new(
config.clone(),
&cfg_path,
CtrlPlatform::signal_context(&connection)?,
) {
Ok(ctrl) => {
let sig_ctx = CtrlPlatform::signal_context(&connection)?;
start_tasks(ctrl, &mut connection, sig_ctx).await?;