pub fn compile_with_workspace_root(
caps: &Capabilities,
server_id: Arc<str>,
workspace_root: &Path,
) -> WatcherSubscriptionsExpand description
Build a WatcherSubscriptions whose plain-string globs all
anchor to workspace_root. The bare compile_for_server
captures the path verbatim because some callers (tests,
future per-folder workspace roots) want a custom anchor.
Public entry-point most call sites use.