MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / scheduleWatchRefresh

Function scheduleWatchRefresh

packages/node/src/dev/hotStateReload.ts:427–433  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

425 }
426
427 function scheduleWatchRefresh(): void {
428 if (!running || refreshTimer !== null) return;
429 refreshTimer = setTimeout(() => {
430 refreshTimer = null;
431 refreshWatchers();
432 }, WATCH_REFRESH_DELAY_MS);
433 }
434
435 function shouldReloadForPath(absPath: string): boolean {
436 if (shouldTrackPath(absPath)) return true;

Callers 2

onWatchEventFunction · 0.85
refreshWatchersFunction · 0.85

Calls 1

refreshWatchersFunction · 0.85

Tested by

no test coverage detected