Skip to main content

ensure_started

Function ensure_started 

Source
pub fn ensure_started(
    exe: &Path,
    project: &Path,
    plan: &Plan,
) -> Result<bool, String>
Expand description

Start one detached watcher if the per-project OS lock proves that no daemon exists. The short-lived file claim closes the parent/child lock-handoff race and is age-recovered if a child dies before entering the daemon body.