Skip to main content

watch_workspace

Function watch_workspace 

Source
pub fn watch_workspace(
    workspace: impl AsRef<Path>,
    config: WatchConfig,
) -> Result<()>
Expand description

Watch workspace for Markdown / Rust / Canvas changes and re-index + remmap.

Blocks the current thread until the process is interrupted (channel disconnect). Requires the watch feature.