async fn run_watcher<R: Runtime>(
runtime: R,
sources: ConfigurationSources,
modules: Vec<Weak<dyn ReconfigurableModule>>,
watch_file: bool,
sighup_stream: impl Stream<Item = ()> + Unpin,
debounce_interval: Option<Duration>,
) -> Result<()>
Expand description
Start watching for configuration changes.
Spawned from watch_for_config_changes
.