From c6795ee81215f2c791c19d9f9a490936dacf2bc7 Mon Sep 17 00:00:00 2001 From: cgewecke Date: Tue, 3 Oct 2017 19:26:10 -0700 Subject: [PATCH] Increase testrpc-sc stdout buffer size --- lib/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/app.js b/lib/app.js index 88a18cd..c62e543 100644 --- a/lib/app.js +++ b/lib/app.js @@ -153,7 +153,8 @@ class App { : command = `${npm} `; // Launch - this.testrpcProcess = childprocess.exec(command + options, null, (err, stdout, stderr) => { + const execOpts = {maxBuffer: 1024 * 1024 * 10}; + this.testrpcProcess = childprocess.exec(command + options, execOpts, (err, stdout, stderr) => { if (err) { if (stdout) this.log(`testRpc stdout:\n${stdout}`); if (stderr) this.log(`testRpc stderr:\n${stderr}`);