{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/1224","labels_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/1224/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/1224/comments","events_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/1224/events","html_url":"https://github.com/NativeScript/nativescript-cli/issues/1224","id":118043896,"number":1224,"title":"LiveSync doesn't work when both iOS device and simulator are available","user":{"login":"vchimev","id":12251337,"avatar_url":"https://avatars.githubusercontent.com/u/12251337?v=3","gravatar_id":"","url":"https://api.github.com/users/vchimev","html_url":"https://github.com/vchimev","followers_url":"https://api.github.com/users/vchimev/followers","following_url":"https://api.github.com/users/vchimev/following{/other_user}","gists_url":"https://api.github.com/users/vchimev/gists{/gist_id}","starred_url":"https://api.github.com/users/vchimev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vchimev/subscriptions","organizations_url":"https://api.github.com/users/vchimev/orgs","repos_url":"https://api.github.com/users/vchimev/repos","events_url":"https://api.github.com/users/vchimev/events{/privacy}","received_events_url":"https://api.github.com/users/vchimev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/labels/livesync","name":"livesync","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/milestones/30","html_url":"https://github.com/NativeScript/nativescript-cli/milestones/1.5.1","labels_url":"https://api.github.com/repos/NativeScript/nativescript-cli/milestones/30/labels","id":1424425,"number":30,"title":"1.5.1","description":"","creator":{"login":"dtopuzov","id":6651651,"avatar_url":"https://avatars.githubusercontent.com/u/6651651?v=3","gravatar_id":"","url":"https://api.github.com/users/dtopuzov","html_url":"https://github.com/dtopuzov","followers_url":"https://api.github.com/users/dtopuzov/followers","following_url":"https://api.github.com/users/dtopuzov/following{/other_user}","gists_url":"https://api.github.com/users/dtopuzov/gists{/gist_id}","starred_url":"https://api.github.com/users/dtopuzov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtopuzov/subscriptions","organizations_url":"https://api.github.com/users/dtopuzov/orgs","repos_url":"https://api.github.com/users/dtopuzov/repos","events_url":"https://api.github.com/users/dtopuzov/events{/privacy}","received_events_url":"https://api.github.com/users/dtopuzov/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":1,"state":"open","created_at":"2015-11-23T07:34:00Z","updated_at":"2015-11-23T17:07:58Z","due_on":"2015-12-09T22:00:00Z","closed_at":null},"comments":2,"created_at":"2015-11-20T13:36:08Z","updated_at":"2015-11-23T17:14:11Z","closed_at":"2015-11-23T12:39:11Z","body":"Preconditions:\r\n- attached iOS device;\r\n- started iOS simulator;\r\n- apps installed on both;\r\n\r\nExecute:\r\nnode_modules/.bin/tns livesync ios --watch --path myGroceries --log trace\r\n\r\n```\r\nstderr: \r\nError: [object Object] is not a future\r\n    at FiberFuture.Future.wait (/Users/vchimev/Work/release/node_modules/fibers/future.js:535:15)\r\n    at /Users/vchimev/Work/release/node_modules/nativescript/lib/common/errors.js:109:33\r\n    at Function.settle (/Users/vchimev/Work/release/node_modules/fibers/future.js:249:26)\r\n    at FiberFuture.Future.wait (/Users/vchimev/Work/release/node_modules/fibers/future.js:534:10)\r\n    at /Users/vchimev/Work/release/node_modules/nativescript/lib/common/services/commands-service.js:87:106\r\n    at Function.settle (/Users/vchimev/Work/release/node_modules/fibers/future.js:249:26)\r\n    at FiberFuture.Future.wait (/Users/vchimev/Work/release/node_modules/fibers/future.js:534:10)\r\n    at /Users/vchimev/Work/release/node_modules/nativescript/lib/common/dispatchers.js:38:85\r\n    at Function.settle (/Users/vchimev/Work/release/node_modules/fibers/future.js:249:26)\r\n    at FiberFuture.Future.wait (/Users/vchimev/Work/release/node_modules/fibers/future.js:534:10)\r\n    at /Users/vchimev/Work/release/node_modules/nativescript/lib/nativescript-cli.js:20:45\r\n    - - - - -\r\n    at getFutures (/Users/vchimev/Work/release/node_modules/fibers/future.js:202:10)\r\n    at Function.settle (/Users/vchimev/Work/release/node_modules/fibers/future.js:214:16)\r\n    at /Users/vchimev/Work/release/node_modules/nativescript/lib/common/mobile/mobile-core/devices-service.js:156:28\r\n    at arrayMap (/Users/vchimev/Work/release/node_modules/ios-sim-portable/node_modules/lodash/index.js:1378:25)\r\n    at Function.map (/Users/vchimev/Work/release/node_modules/ios-sim-portable/node_modules/lodash/index.js:6154:14)\r\n    at /Users/vchimev/Work/release/node_modules/nativescript/lib/common/mobile/mobile-core/devices-service.js:153:29\r\n    at Function.settle (/Users/vchimev/Work/release/node_modules/ios-sim-portable/node_modules/fibers/future.js:249:26)\r\n    at FiberFuture.Future.wait (/Users/vchimev/Work/release/node_modules/ios-sim-portable/node_modules/fibers/future.js:534:10)\r\n    at /Users/vchimev/Work/release/node_modules/nativescript/lib/common/mobile/mobile-core/devices-service.js:180:76\r\n    at Function.settle (/Users/vchimev/Work/release/node_modules/ios-sim-portable/node_modules/fibers/future.js:249:26)\r\n    at FiberFuture.Future.wait (/Users/vchimev/Work/release/node_modules/ios-sim-portable/node_modules/fibers/future.js:534:10)\r\n    at /Users/vchimev/Work/release/node_modules/nativescript/lib/common/services/usb-livesync-service-base.js:197:51\r\n    at Function.settle (/Users/vchimev/Work/release/node_modules/ios-sim-portable/node_modules/fibers/future.js:249:26)\r\n    at FiberFuture.Future.wait (/Users/vchimev/Work/release/node_modules/ios-sim-portable/node_modules/fibers/future.js:534:10)\r\n    at /Users/vchimev/Work/release/node_modules/nativescript/lib/common/services/usb-livesync-service-base.js:89:59\r\n    at Function.settle (/Users/vchimev/Work/release/node_modules/fibers/future.js:249:26)\r\n```"},"comment":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/comments/158999545","html_url":"https://github.com/NativeScript/nativescript-cli/issues/1224#issuecomment-158999545","issue_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/1224","id":158999545,"user":{"login":"vchimev","id":12251337,"avatar_url":"https://avatars.githubusercontent.com/u/12251337?v=3","gravatar_id":"","url":"https://api.github.com/users/vchimev","html_url":"https://github.com/vchimev","followers_url":"https://api.github.com/users/vchimev/followers","following_url":"https://api.github.com/users/vchimev/following{/other_user}","gists_url":"https://api.github.com/users/vchimev/gists{/gist_id}","starred_url":"https://api.github.com/users/vchimev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vchimev/subscriptions","organizations_url":"https://api.github.com/users/vchimev/orgs","repos_url":"https://api.github.com/users/vchimev/repos","events_url":"https://api.github.com/users/vchimev/events{/privacy}","received_events_url":"https://api.github.com/users/vchimev/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T17:14:11Z","updated_at":"2015-11-23T17:14:11Z","body":"@Fatme, what could be the reason for `node_modules/ios-sim-portable/node_modules/fibers` to exists?"}}