From 3dfc1dd07e91de9575bdc6339ee76dbf614338ce Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Thu, 14 Oct 2021 23:11:21 +0200 Subject: [PATCH 1/2] chore: do not swallow distro bundle output --- tasks/build-distro.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/build-distro.js b/tasks/build-distro.js index 8d84b1dc..4e69def0 100644 --- a/tasks/build-distro.js +++ b/tasks/build-distro.js @@ -37,7 +37,9 @@ var NODE_ENV = process.env.NODE_ENV; try { process.env.NODE_ENV = env; - exec('rollup', [ '-c' ]); + exec('rollup', [ '-c' ], { + stdio: 'inherit' + }); } catch (e) { console.error('failed to build pre-package distributions', e); From df60006c74bde1baadfa8df20cc5bbb1995cc0b8 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Thu, 14 Oct 2021 23:22:09 +0200 Subject: [PATCH 2/2] chore: do not swallow test-distro output --- tasks/test-distro.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tasks/test-distro.js b/tasks/test-distro.js index ac06df8e..2d0f64c4 100644 --- a/tasks/test-distro.js +++ b/tasks/test-distro.js @@ -1,4 +1,4 @@ -var execSync = require('execa').sync; +var exec = require('execa').sync; var failures = 0; @@ -13,7 +13,9 @@ function runTest(variant, env) { console.log(`[EXEC] VARIANT=${variant} NODE_ENV=${env} karma start test/config/karma.distro.js`); try { - execSync('karma', [ 'start', 'test/config/karma.distro.js' ]); + exec('karma', [ 'start', 'test/config/karma.distro.js' ], { + stdio: 'inherit' + }); } catch (e) { console.error('[TEST] FAILURE ' + variant + '@' + env); console.error(e);