File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ export class PlatformService implements IPlatformService {
193
193
? this . debugOnEmulator ( platform )
194
194
: this . debugOnDevice ( platform ) ;
195
195
196
- return ret ;
196
+ return ret ;
197
197
}
198
198
199
199
public debugOnEmulator ( platform : string ) : IFuture < void > {
@@ -272,7 +272,13 @@ export class PlatformService implements IPlatformService {
272
272
this . $logger . out ( "Using " , packageFile ) ;
273
273
274
274
this . $devicesServices . initialize ( { platform : platform , deviceId : options . device } ) . wait ( ) ;
275
- var action = ( device : Mobile . IDevice ) : IFuture < void > => { return device . deploy ( packageFile , this . $projectData . projectId ) ; } ;
275
+ var action = ( device : Mobile . IDevice ) : IFuture < void > => {
276
+ return ( ( ) => {
277
+ device . deploy ( packageFile , this . $projectData . projectId ) . wait ( ) ;
278
+ device . runApplication ( this . $projectData . projectId ) . wait ( ) ;
279
+
280
+ } ) . future < void > ( ) ( ) ;
281
+ } ;
276
282
this . $devicesServices . execute ( action ) . wait ( ) ;
277
283
278
284
} ) . future < void > ( ) ( ) ;
You can’t perform that action at this time.
0 commit comments