@@ -141,10 +141,10 @@ export class RunController extends EventEmitter implements IRunController {
141141 return this . $liveSyncProcessDataService . getDeviceDescriptors ( data . projectDir ) ;
142142 }
143143
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 > {
145145 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 ) ;
148148
149149 const device = liveSyncResultInfo . deviceAppData . device ;
150150
@@ -159,12 +159,12 @@ export class RunController extends EventEmitter implements IRunController {
159159 return result ;
160160 }
161161
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 > {
163163 const debugOptions = deviceDescriptor . debugOptions || { } ;
164164
165165 liveSyncResultInfo . waitForDebugger = ! ! debugOptions . debugBrk ;
166166
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 } ) ;
168168
169169 // we do not stop the application when debugBrk is false, so we need to attach, instead of launch
170170 // if we try to send the launch request, the debugger port will not be printed and the command will timeout
0 commit comments