@@ -141,10 +141,10 @@ export class RunController extends EventEmitter implements IRunController {
141
141
return this . $liveSyncProcessDataService . getDeviceDescriptors ( data . projectDir ) ;
142
142
}
143
143
144
- protected async refreshApplication ( projectData : IProjectData , liveSyncResultInfo : ILiveSyncResultInfo , filesChangeEventData : IFilesChangeEventData , deviceDescriptor : ILiveSyncDeviceDescriptor , settings ?: IRefreshApplicationSettings ) : Promise < IRestartApplicationInfo > {
144
+ protected async refreshApplication ( projectData : IProjectData , liveSyncResultInfo : ILiveSyncResultInfo , filesChangeEventData : IFilesChangeEventData , deviceDescriptor : ILiveSyncDeviceDescriptor ) : Promise < IRestartApplicationInfo > {
145
145
const result = deviceDescriptor . debuggingEnabled ?
146
- await this . refreshApplicationWithDebug ( projectData , liveSyncResultInfo , filesChangeEventData , deviceDescriptor , settings ) :
147
- await this . refreshApplicationWithoutDebug ( projectData , liveSyncResultInfo , filesChangeEventData , deviceDescriptor , settings ) ;
146
+ await this . refreshApplicationWithDebug ( projectData , liveSyncResultInfo , filesChangeEventData , deviceDescriptor ) :
147
+ await this . refreshApplicationWithoutDebug ( projectData , liveSyncResultInfo , filesChangeEventData , deviceDescriptor ) ;
148
148
149
149
const device = liveSyncResultInfo . deviceAppData . device ;
150
150
@@ -159,12 +159,12 @@ export class RunController extends EventEmitter implements IRunController {
159
159
return result ;
160
160
}
161
161
162
- protected async refreshApplicationWithDebug ( projectData : IProjectData , liveSyncResultInfo : ILiveSyncResultInfo , filesChangeEventData : IFilesChangeEventData , deviceDescriptor : ILiveSyncDeviceDescriptor , settings ?: IRefreshApplicationSettings ) : Promise < IRestartApplicationInfo > {
162
+ protected async refreshApplicationWithDebug ( projectData : IProjectData , liveSyncResultInfo : ILiveSyncResultInfo , filesChangeEventData : IFilesChangeEventData , deviceDescriptor : ILiveSyncDeviceDescriptor ) : Promise < IRestartApplicationInfo > {
163
163
const debugOptions = deviceDescriptor . debugOptions || { } ;
164
164
165
165
liveSyncResultInfo . waitForDebugger = ! ! debugOptions . debugBrk ;
166
166
167
- const refreshInfo = await this . refreshApplicationWithoutDebug ( projectData , liveSyncResultInfo , filesChangeEventData , deviceDescriptor , settings ) ;
167
+ const refreshInfo = await this . refreshApplicationWithoutDebug ( projectData , liveSyncResultInfo , filesChangeEventData , deviceDescriptor , { shouldSkipEmitLiveSyncNotification : true , shouldCheckDeveloperDiscImage : true } ) ;
168
168
169
169
// we do not stop the application when debugBrk is false, so we need to attach, instead of launch
170
170
// if we try to send the launch request, the debugger port will not be printed and the command will timeout
0 commit comments