Skip to content

Commit

Permalink
CLI: Increase child process max buffer when running jsdoc from pbts, …
Browse files Browse the repository at this point in the history
…see #587
  • Loading branch information
dcodeIO committed Dec 27, 2016
1 parent 3d84ecd commit 6fe0992
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/pbts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6fe0992

Please sign in to comment.