We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6bfce95 + e8c8e98 commit 065c759Copy full SHA for 065c759
lib/services/livesync/livesync-service.ts
@@ -62,7 +62,9 @@ class LiveSyncService implements ILiveSyncService {
62
liveSyncData.push(this.prepareLiveSyncData(installedPlatform));
63
}
64
65
-
+ if (liveSyncData.length === 0) {
66
+ this.$errors.fail("There are no platforms installed in this project. Please specify platform or install one by using `tns platform add` command!");
67
+ }
68
this._isInitialized = true; // If we want before-prepare hooks to work properly, this should be set after preparePlatform function
69
70
this.liveSyncCore(liveSyncData).wait();
0 commit comments