MCPcopy Index your code
hub / github.com/Sandpack/nodebox-runtime / runRuntimeServer

Function runRuntimeServer

tests/setup/globalSetup.ts:41–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39}
40
41function runRuntimeServer(): DeferredPromise<ChildProcess> {
42 return spawnAndWaitForStdout('pnpm', ['start:runtime'], (stdout) => {
43 return stdout.includes('Server is now listening');
44 });
45}
46
47function runPreviewServer(): DeferredPromise<ChildProcess> {
48 return spawnAndWaitForStdout('pnpm', ['start:preview'], (stdout) => {

Callers 1

globalSetupFunction · 0.85

Calls 1

spawnAndWaitForStdoutFunction · 0.85

Tested by

no test coverage detected