13 lines
489 B
TypeScript
13 lines
489 B
TypeScript
/**
|
|
* Closes and re-creates the FS watcher. Deduped: callers that restart the
|
|
* watcher around the same time (fullRebuild, reloadWatcher, watchdog) only
|
|
* trigger a single re-creation.
|
|
*/
|
|
export declare function restartWatcher(): void;
|
|
/**
|
|
* True when the watcher was last (re)created long enough ago that the
|
|
* watchdog should consider re-creating it again.
|
|
*/
|
|
export declare function watcherRestartAvailable(): boolean;
|
|
export default function watcherEsbuildCTX(): Promise<void>;
|