MCPcopy Create free account
hub / github.com/Sandpack/nodebox-runtime / stopPreview

Function stopPreview

tests/features/shell.start.test.ts:132–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130 await shell.runCommand('node', ['index.js']);
131 };
132 const stopPreview = async () => {
133 await shell.kill();
134 };
135
136 // @ts-ignore
137 window.startPreview = startPreview;

Callers

nothing calls this directly

Calls 1

killMethod · 0.80

Tested by

no test coverage detected