From cda83fe5c47414c637cf5a5d5c45fd476b72f93f Mon Sep 17 00:00:00 2001 From: rosen-vladimirov Date: Wed, 9 Mar 2016 16:13:11 +0200 Subject: [PATCH] Fix starting of emulator when no devices are attached When there are no devices attached, CLI should start emulator and execute the action on it. For example calling `tns run android` when there are no devices attached, the devicesService should start emulator and run the application in it. Currently this is not working as the startEmulator method is starting the instance and then calls method for device detection. However the checkForDevices method is async and it does not guarantee when the devices will be detected. Instead use startLookingForDevices which is synchronous. --- lib/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common b/lib/common index 8a9c463404..b2db250d44 160000 --- a/lib/common +++ b/lib/common @@ -1 +1 @@ -Subproject commit 8a9c4634043e1fbf658e3a0b8cfd3416d7cd8679 +Subproject commit b2db250d44cd0b095151153717debbd425f39615