Function arti::watch_cfg::watch_for_config_changes
source · [−]pub fn watch_for_config_changes<R: Runtime>(
sources: ConfigurationSources,
original: ArtiConfig,
client: TorClient<R>
) -> Result<()>
Expand description
Launch a thread to watch our configuration files.
Whenever one or more files in files
changes, try to reload our
configuration from them and tell TorClient about it.