mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Clear adb logs before every run
This commit is contained in:
@@ -442,6 +442,8 @@ var execCordovaOnPlatform = function (localPath, platformName) {
|
||||
// print the log file
|
||||
execFileAsync('tail', ['-f', logFilePath], { lineMapper: iosMapper });
|
||||
} else if (platform === 'android') {
|
||||
// clear the logcat logs from the previous run
|
||||
execFileSync(localAdb, ['logcat', '-c']);
|
||||
execFileAsync(localAdb, ['logcat', '-s', 'CordovaLog'], {
|
||||
lineMapper: androidMapper,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user