From 5017970890293977184adfc62baa38ccc45c2ec4 Mon Sep 17 00:00:00 2001 From: Bubbleioa Date: Fri, 10 May 2024 11:43:20 +0000 Subject: [PATCH] fix: config watcher follow symlinks --- src/config_watcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config_watcher.rs b/src/config_watcher.rs index 993fdcce..02362df6 100644 --- a/src/config_watcher.rs +++ b/src/config_watcher.rs @@ -162,7 +162,7 @@ async fn config_watcher( Err(e) => error!("watch error: {:#}", e), })?; - watcher.watch(parent_path, RecursiveMode::NonRecursive)?; + watcher.watch(parent_path, RecursiveMode::Recursive)?; info!("Start watching the config"); loop {