Skip to content

Commit 6fe0992

Browse files
committed
CLI: Increase child process max buffer when running jsdoc from pbts, see #587
1 parent 3d84ecd commit 6fe0992

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cli/pbts.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ exports.main = function(args, callback) {
6565
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(' '), {
6666
cwd: process.cwd(),
6767
argv0: "node",
68-
stdio: "pipe"
68+
stdio: "pipe",
69+
maxBuffer: 1 << 24 // 16mb
6970
});
7071
var out = [];
7172
child.stdout.on("data", function(data) {

0 commit comments

Comments
 (0)