MCPcopy Index your code
hub / github.com/Waishnav/devspace / scheduleRestart

Function scheduleRestart

scripts/dev-server.mjs:38–41  ·  view source on GitHub ↗
(delayMs = restartDelayMs)

Source from the content-addressed store, hash-verified

36}
37
38function scheduleRestart(delayMs = restartDelayMs) {
39 clearTimeout(restartTimer);
40 restartTimer = setTimeout(restart, delayMs);
41}
42
43function restart() {
44 if (shuttingDown) return;

Callers 2

startFunction · 0.85
addDirectoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected