@@ -221,7 +221,7 @@ class LiveSyncServiceBase implements ILiveSyncServiceBase {
221
221
222
222
private async transferFiles ( deviceAppData : Mobile . IDeviceAppData , localToDevicePaths : Mobile . ILocalToDevicePathData [ ] , projectFilesPath : string , isFullSync : boolean ) : Promise < void > {
223
223
this . $logger . info ( "Transferring project files..." ) ;
224
- this . logFilesSyncInformation ( localToDevicePaths , "Transferring %s." , this . $logger . trace ) ;
224
+ this . logFilesSyncInformation ( localToDevicePaths , "Transferring %s on device %s ." , this . $logger . trace , deviceAppData . device . deviceInfo . identifier ) ;
225
225
226
226
const canTransferDirectory = isFullSync && ( this . $devicesService . isAndroidDevice ( deviceAppData . device ) || this . $devicesService . isiOSSimulator ( deviceAppData . device ) ) ;
227
227
if ( canTransferDirectory ) {
@@ -238,13 +238,13 @@ class LiveSyncServiceBase implements ILiveSyncServiceBase {
238
238
await this . $liveSyncProvider . transferFiles ( deviceAppData , localToDevicePaths , projectFilesPath , isFullSync ) ;
239
239
}
240
240
241
- this . logFilesSyncInformation ( localToDevicePaths , "Successfully transferred %s." , this . $logger . info ) ;
241
+ this . logFilesSyncInformation ( localToDevicePaths , "Successfully transferred %s on device %s ." , this . $logger . info , deviceAppData . device . deviceInfo . identifier ) ;
242
242
}
243
243
244
- private logFilesSyncInformation ( localToDevicePaths : Mobile . ILocalToDevicePathData [ ] , message : string , action : Function ) : void {
244
+ private logFilesSyncInformation ( localToDevicePaths : Mobile . ILocalToDevicePathData [ ] , message : string , action : Function , deviceIdentifier : string ) : void {
245
245
if ( this . showFullLiveSyncInformation ) {
246
246
_ . each ( localToDevicePaths , ( file : Mobile . ILocalToDevicePathData ) => {
247
- action . call ( this . $logger , util . format ( message , path . basename ( file . getLocalPath ( ) ) . yellow ) ) ;
247
+ action . call ( this . $logger , util . format ( message , path . basename ( file . getLocalPath ( ) ) . yellow ) , deviceIdentifier ) ;
248
248
} ) ;
249
249
} else {
250
250
action . call ( this . $logger , util . format ( message , "all files" ) ) ;
0 commit comments