Skip to content

Commit

Permalink
fix(cordova): maxBuffer was too small
Browse files Browse the repository at this point in the history
  • Loading branch information
mlynch committed Nov 23, 2016
1 parent 1a3de90 commit ae6d904
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/utils/cordova.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ function execCordovaCommand(optionList, isLiveReload, serveOptions) {
isLiveReload = !!isLiveReload;

log.debug('Executing cordova cli: ' + optionList.join(' '));
var cordovaProcess = childProcess.exec('cordova ' + optionList.join(' '));
var cordovaProcess = childProcess.exec('cordova ' + optionList.join(' '), {
maxBuffer: 1024 * 1024 * 1024
});

cordovaProcess.stdout.on('data', function(data) {
log.info(data.toString());
Expand Down

0 comments on commit ae6d904

Please sign in to comment.