@@ -34,10 +34,10 @@ export class LiveSyncService extends EventEmitter implements ILiveSyncService {
34
34
}
35
35
36
36
public async liveSync ( deviceDescriptors : ILiveSyncDeviceInfo [ ] ,
37
- liveSyncData : ILiveSyncInfo , projectFilesConfig : IProjectFilesConfig ) : Promise < void > {
37
+ liveSyncData : ILiveSyncInfo ) : Promise < void > {
38
38
const projectData = this . $projectDataService . getProjectData ( liveSyncData . projectDir ) ;
39
39
await this . $pluginsService . ensureAllDependenciesAreInstalled ( projectData ) ;
40
- await this . liveSyncOperation ( deviceDescriptors , liveSyncData , projectData , projectFilesConfig ) ;
40
+ await this . liveSyncOperation ( deviceDescriptors , liveSyncData , projectData ) ;
41
41
}
42
42
43
43
public async stopLiveSync ( projectDir : string , deviceIdentifiers ?: string [ ] ) : Promise < void > {
@@ -117,7 +117,7 @@ export class LiveSyncService extends EventEmitter implements ILiveSyncService {
117
117
118
118
@hook ( "liveSync" )
119
119
private async liveSyncOperation ( deviceDescriptors : ILiveSyncDeviceInfo [ ] ,
120
- liveSyncData : ILiveSyncInfo , projectData : IProjectData , projectFilesConfig : IProjectFilesConfig ) : Promise < void > {
120
+ liveSyncData : ILiveSyncInfo , projectData : IProjectData ) : Promise < void > {
121
121
// In case liveSync is called for a second time for the same projectDir.
122
122
const isAlreadyLiveSyncing = this . liveSyncProcessesInfo [ projectData . projectDir ] && ! this . liveSyncProcessesInfo [ projectData . projectDir ] . isStopped ;
123
123
this . setLiveSyncProcessInfo ( liveSyncData . projectDir , deviceDescriptors ) ;
@@ -130,7 +130,7 @@ export class LiveSyncService extends EventEmitter implements ILiveSyncService {
130
130
// Should be set after prepare
131
131
this . $injector . resolve < DeprecatedUsbLiveSyncService > ( "usbLiveSyncService" ) . isInitialized = true ;
132
132
133
- await this . startWatcher ( projectData , liveSyncData , projectFilesConfig ) ;
133
+ await this . startWatcher ( projectData , liveSyncData ) ;
134
134
}
135
135
}
136
136
@@ -272,7 +272,7 @@ export class LiveSyncService extends EventEmitter implements ILiveSyncService {
272
272
} ;
273
273
}
274
274
275
- private async startWatcher ( projectData : IProjectData , liveSyncData : ILiveSyncInfo , projectFilesConfig : IProjectFilesConfig ) : Promise < void > {
275
+ private async startWatcher ( projectData : IProjectData , liveSyncData : ILiveSyncInfo ) : Promise < void > {
276
276
let pattern = [ APP_FOLDER_NAME ] ;
277
277
278
278
if ( liveSyncData . watchAllFiles ) {
@@ -338,7 +338,7 @@ export class LiveSyncService extends EventEmitter implements ILiveSyncService {
338
338
useLiveEdit : liveSyncData . useLiveEdit
339
339
} ;
340
340
341
- const liveSyncResultInfo = await service . liveSyncWatchAction ( device , settings , projectFilesConfig ) ;
341
+ const liveSyncResultInfo = await service . liveSyncWatchAction ( device , settings ) ;
342
342
await this . refreshApplication ( projectData , liveSyncResultInfo ) ;
343
343
} ,
344
344
( device : Mobile . IDevice ) => {
0 commit comments