Skip to main content

watch_config

Function watch_config 

Source
pub async fn watch_config(
    config_path: PathBuf,
    state: Arc<AppState>,
    debounce: Duration,
)
Expand description

Watch the config file and trigger reload on changes. Runs until aborted.