From 6fe099259b5985d873ba5bec88c049d7491a11cc Mon Sep 17 00:00:00 2001 From: dcodeIO Date: Tue, 27 Dec 2016 23:07:49 +0100 Subject: [PATCH] CLI: Increase child process max buffer when running jsdoc from pbts, see #587 --- cli/pbts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/pbts.js b/cli/pbts.js index fc8264adf..2d5374385 100644 --- a/cli/pbts.js +++ b/cli/pbts.js @@ -65,7 +65,8 @@ exports.main = function(args, callback) { var child = child_process.exec("node \"" + basedir + "/node_modules/jsdoc/jsdoc.js\" -c \"" + basedir + "/jsdoc.types.json\" -q \"module=" + encodeURIComponent(moduleName) + "\" " + files.map(function(file) { return '"' + file + '"'; }).join(' '), { cwd: process.cwd(), argv0: "node", - stdio: "pipe" + stdio: "pipe", + maxBuffer: 1 << 24 // 16mb }); var out = []; child.stdout.on("data", function(data) {