Skip to content

Commit ae6d904

Browse files
committed
fix(cordova): maxBuffer was too small
1 parent 1a3de90 commit ae6d904

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/utils/cordova.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ function execCordovaCommand(optionList, isLiveReload, serveOptions) {
7272
isLiveReload = !!isLiveReload;
7373

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

7779
cordovaProcess.stdout.on('data', function(data) {
7880
log.info(data.toString());

0 commit comments

Comments
 (0)