diff --git a/packages/config/src/bin/build-script.ts b/packages/config/src/bin/build-script.ts index 4aa45b2e4d..c23938b407 100644 --- a/packages/config/src/bin/build-script.ts +++ b/packages/config/src/bin/build-script.ts @@ -26,6 +26,7 @@ export function buildScript(argv: { [name: string]: string }, cwd: string) { subprocess.on('exit', (code: string | null, signal: string) => { if (code) { fecLogger(LogType.error, 'Exited with code', code); + process.exit(code); } else if (signal) { fecLogger(LogType.error, 'Exited with signal', signal); } else {