@@ -65,7 +65,7 @@ export class LiveSyncCommandHelper implements ILiveSyncCommandHelper {
65
65
projectDir : this . $projectData . projectDir
66
66
} ) ;
67
67
68
- const buildData = this . $buildDataService . getBuildData ( this . $projectData . projectDir , d . deviceInfo . platform , { ...this . $options . argv , outputPath, buildForDevice : ! d . isEmulator } ) ;
68
+ const buildData = this . $buildDataService . getBuildData ( this . $projectData . projectDir , d . deviceInfo . platform , { ...this . $options . argv , outputPath, buildForDevice : ! d . isEmulator , watch : ! this . $options . release && this . $options . watch } ) ;
69
69
70
70
const buildAction = additionalOptions && additionalOptions . buildPlatform ?
71
71
additionalOptions . buildPlatform . bind ( additionalOptions . buildPlatform , d . deviceInfo . platform , buildData , this . $projectData ) :
@@ -83,7 +83,7 @@ export class LiveSyncCommandHelper implements ILiveSyncCommandHelper {
83
83
return info ;
84
84
} ) ;
85
85
86
- return deviceDescriptors ;
86
+ return deviceDescriptors ;
87
87
}
88
88
89
89
public getPlatformsForOperation ( platform : string ) : string [ ] {
@@ -133,7 +133,7 @@ export class LiveSyncCommandHelper implements ILiveSyncCommandHelper {
133
133
return result ;
134
134
}
135
135
136
- private async executeLiveSyncOperationCore ( devices : Mobile . IDevice [ ] , platform : string , additionalOptions ?: ILiveSyncCommandHelperAdditionalOptions ) : Promise < { liveSyncInfo : ILiveSyncInfo , deviceDescriptors : ILiveSyncDeviceDescriptor [ ] } > {
136
+ private async executeLiveSyncOperationCore ( devices : Mobile . IDevice [ ] , platform : string , additionalOptions ?: ILiveSyncCommandHelperAdditionalOptions ) : Promise < { liveSyncInfo : ILiveSyncInfo , deviceDescriptors : ILiveSyncDeviceDescriptor [ ] } > {
137
137
if ( ! devices || ! devices . length ) {
138
138
if ( platform ) {
139
139
this . $errors . failWithoutHelp ( "Unable to find applicable devices to execute operation. Ensure connected devices are trusted and try again." ) ;
0 commit comments