From dcea576fff093957ae2a849a5ec0a923c599d4ff Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Wed, 18 Dec 2019 18:04:08 +0800 Subject: [PATCH] Ignore hermes output to avoid buffer issue --- local-cli/src/bundle.js | 1 + 1 file changed, 1 insertion(+) diff --git a/local-cli/src/bundle.js b/local-cli/src/bundle.js index 77d7b43..4d37351 100644 --- a/local-cli/src/bundle.js +++ b/local-cli/src/bundle.js @@ -128,6 +128,7 @@ async function compileHermesByteCode(bundleName, outputFolder) { : 'node_modules/hermesvm'; execSync( `${hermesPath}/${getHermesOSBin()}/hermes -emit-binary -out ${outputFolder}/${bundleName} ${outputFolder}/${bundleName} -O`, + { stdio: 'ignore' }, ); } }