diff --git a/zenoh/src/api/config.rs b/zenoh/src/api/config.rs index 675c8a93a9..673bc5d422 100644 --- a/zenoh/src/api/config.rs +++ b/zenoh/src/api/config.rs @@ -190,7 +190,9 @@ impl Notifier { } pub fn insert_json5(&self, key: &str, value: &str) -> ZResult<()> { - self.lock_config().insert_json5(key, value) + self.lock_config().insert_json5(key, value)?; + self.notify(key); + Ok(()) } #[allow(dead_code)]