Skip to main content

register_watchers

Function register_watchers 

Source
fn register_watchers(engine: &Arc<WshRpcEngine>, state: &AppState)
Expand description

Live-reload watching of editor files (spec: docs/specs/SPEC_EDITOR_LIVE_FILE_RELOAD_2026_07_18.md) and live-update watching of Media panes pointed at a directory (docs/specs/SPEC_MEDIA_PANE_2026_07_26.md). Both watchers always exist since the move onto the shared FsWatchPool (SPEC_SHARED_FS_WATCHER_FRAMEWORK_2026_08_07.md): a construction-time failure degrades into FsWatchPool::health()’s degraded_paths, so there’s nothing to check here.