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

Function startPreview

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

Source from the content-addressed store, hash-verified

127 const shell = emulator.shell.create();
128
129 const startPreview = async () => {
130 await shell.runCommand('node', ['index.js']);
131 };
132 const stopPreview = async () => {
133 await shell.kill();
134 };

Callers

nothing calls this directly

Calls 1

runCommandMethod · 0.80

Tested by

no test coverage detected