Skip to content

AdlProjectWatcher

AdlProjectWatcher = object

Defined in: packages/core/src/project/watch.ts:19

readonly ready: Promise<void>

Defined in: packages/core/src/project/watch.ts:28

Resolves once the initial scan has subscribed every directory under the project root; rejects if the watcher could not arm at all.

Await it before relying on an edit being noticed. The scan is asynchronous — about 12 ms for a small project here, and slower on a loaded machine — and an edit made before it finishes is never reported.

close(): void

Defined in: packages/core/src/project/watch.ts:29

void