pub fn try_spawn_policy_watcher(
store_root: PathBuf,
sink: Arc<dyn ReloadSink>,
) -> Result<JoinHandle<()>>Expand description
Start the policy hot-reload watcher, returning an error if its filesystem watch cannot be initialized. The task polls every 500 ms and reloads on relevant policy/schema changes.