Skip to content

Commit 0d960e3

Browse files
author
Dimitar Kerezov
committed
Stop stopping device detection interval
Delete @exportedPromise decorator as we no longer need it Stop stopping device detection interval when deploying on iOS devices. These operations no longer conflict as the code is located in an external dependency.
1 parent b299066 commit 0d960e3

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

lib/services/livesync/livesync-service.ts

-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ class LiveSyncService implements ILiveSyncService {
3939
} else {
4040
await this.$devicesService.initialize({ skipInferPlatform: true });
4141

42-
await this.$devicesService.stopDeviceDetectionInterval();
43-
4442
for (let installedPlatform of this.$platformService.getInstalledPlatforms(projectData)) {
4543
if (this.$devicesService.getDevicesForPlatform(installedPlatform).length === 0) {
4644
await this.$devicesService.startEmulator(installedPlatform);

lib/services/local-build-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// import { exportedPromise } from "../common/decorators";
1+
// import { exported } from "../common/decorators";
22
import { EventEmitter } from "events";
33
import { BUILD_OUTPUT_EVENT_NAME } from "../constants";
44

lib/services/project-service.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as constants from "../constants";
22
import * as path from "path";
33
import * as shelljs from "shelljs";
4-
import { exportedPromise, exported } from "../common/decorators";
4+
import { exported } from "../common/decorators";
55

66
export class ProjectService implements IProjectService {
77

@@ -16,7 +16,7 @@ export class ProjectService implements IProjectService {
1616
private $projectTemplatesService: IProjectTemplatesService,
1717
private $staticConfig: IStaticConfig) { }
1818

19-
@exportedPromise("projectService")
19+
@exported("projectService")
2020
public async createProject(projectOptions: IProjectSettings): Promise<void> {
2121
let projectName = projectOptions.projectName,
2222
selectedTemplate = projectOptions.template;

0 commit comments

Comments
 (0)