@@ -221,7 +221,7 @@ class LiveSyncServiceBase implements ILiveSyncServiceBase {
221221
222222 private async transferFiles ( deviceAppData : Mobile . IDeviceAppData , localToDevicePaths : Mobile . ILocalToDevicePathData [ ] , projectFilesPath : string , isFullSync : boolean ) : Promise < void > {
223223 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 ) ;
225225
226226 const canTransferDirectory = isFullSync && ( this . $devicesService . isAndroidDevice ( deviceAppData . device ) || this . $devicesService . isiOSSimulator ( deviceAppData . device ) ) ;
227227 if ( canTransferDirectory ) {
@@ -238,13 +238,13 @@ class LiveSyncServiceBase implements ILiveSyncServiceBase {
238238 await this . $liveSyncProvider . transferFiles ( deviceAppData , localToDevicePaths , projectFilesPath , isFullSync ) ;
239239 }
240240
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 ) ;
242242 }
243243
244- private logFilesSyncInformation ( localToDevicePaths : Mobile . ILocalToDevicePathData [ ] , message : string , action : Function ) : void {
244+ private logFilesSyncInformation ( localToDevicePaths : Mobile . ILocalToDevicePathData [ ] , message : string , action : Function , deviceIdentifier : string ) : void {
245245 if ( this . showFullLiveSyncInformation ) {
246246 _ . 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 ) ;
248248 } ) ;
249249 } else {
250250 action . call ( this . $logger , util . format ( message , "all files" ) ) ;
0 commit comments