start(): Task<boolean, never>
Ensures a daemon is running for this project, spawning one if there isn't.
The daemon holds a browser and a warm esbuild context between runs, which is worth roughly 800 ms per run — so it pays for itself the second time a long-lived process runs the suite.
Idempotent: with one already up, this is a liveness probe and nothing is spawned.
import { start } from './daemon.ts'; // Defined, not invoked: may spawn a real background process. async function warmUp() { return await start(); // true once a daemon is reachable }
Task<boolean, never>