15 lines
530 B
TypeScript
15 lines
530 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(params?: {
|
|
pages_snapshot?: string;
|
|
}): Promise<void>;
|