From df938d6ee833ded59f6d12528105e6165ed76a92 Mon Sep 17 00:00:00 2001 From: matt korwel Date: Mon, 16 Jun 2025 08:27:29 -0700 Subject: Preflight and integration npx (#1096) --- scripts/start.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts/start.js') diff --git a/scripts/start.js b/scripts/start.js index 64dccd76..6a5445f3 100644 --- a/scripts/start.js +++ b/scripts/start.js @@ -64,4 +64,8 @@ const env = { DEV: 'true', }; -spawn('node', nodeArgs, { stdio: 'inherit', env }); +const child = spawn('node', nodeArgs, { stdio: 'inherit', env }); + +child.on('close', (code) => { + process.exit(code); +}); -- cgit v1.2.3