Permalink
Browse files

CLI: Increase child process max buffer when running jsdoc from pbts, …

…see #587
  • Loading branch information...
dcodeIO committed Dec 27, 2016
1 parent 3d84ecd commit 6fe099259b5985d873ba5bec88c049d7491a11cc
Showing with 2 additions and 1 deletion.
  1. +2 −1 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) {

0 comments on commit 6fe0992

Please sign in to comment.