{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/FBSimulatorControl/issues/204","repository_url":"https://api.github.com/repos/facebook/FBSimulatorControl","labels_url":"https://api.github.com/repos/facebook/FBSimulatorControl/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/facebook/FBSimulatorControl/issues/204/comments","events_url":"https://api.github.com/repos/facebook/FBSimulatorControl/issues/204/events","html_url":"https://github.com/facebook/FBSimulatorControl/pull/204","id":132358589,"number":204,"title":"Launch vs. Relaunch Interactions","user":{"login":"lawrencelomax","id":217883,"avatar_url":"https://avatars.githubusercontent.com/u/217883?v=3","gravatar_id":"","url":"https://api.github.com/users/lawrencelomax","html_url":"https://github.com/lawrencelomax","followers_url":"https://api.github.com/users/lawrencelomax/followers","following_url":"https://api.github.com/users/lawrencelomax/following{/other_user}","gists_url":"https://api.github.com/users/lawrencelomax/gists{/gist_id}","starred_url":"https://api.github.com/users/lawrencelomax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lawrencelomax/subscriptions","organizations_url":"https://api.github.com/users/lawrencelomax/orgs","repos_url":"https://api.github.com/users/lawrencelomax/repos","events_url":"https://api.github.com/users/lawrencelomax/events{/privacy}","received_events_url":"https://api.github.com/users/lawrencelomax/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/FBSimulatorControl/labels/CLA%20Signed","name":"CLA Signed","color":"ededed"},{"url":"https://api.github.com/repos/facebook/FBSimulatorControl/labels/GH%20Review:%20accepted","name":"GH Review: accepted","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-09T08:29:35Z","updated_at":"2016-02-09T11:46:01Z","closed_at":"2016-02-09T11:46:00Z","pull_request":{"url":"https://api.github.com/repos/facebook/FBSimulatorControl/pulls/204","html_url":"https://github.com/facebook/FBSimulatorControl/pull/204","diff_url":"https://github.com/facebook/FBSimulatorControl/pull/204.diff","patch_url":"https://github.com/facebook/FBSimulatorControl/pull/204.patch"},"body":"Tightens up the semantics around 'launching' and 're-launching':\r\n- Launch implies that the interaction will fail if the app is currently launched\r\n- Re-launch implies that the interaction will ensure the app is killed before launching it.\r\n\r\nThis means that for many use-cases will be the preferable interaction: *'I just want to start this app, or re-start it if it's running'*. Also adds the ability to 're-launch' with a different launch configuration by querying the process table for a launched application with the same Bundle ID. Install is also simpler since the install interaction won't fail if the application is a System Application.\r\n\r\nAdditionally, the tests for launch and re-launch are now defined in terms of each other, a re-launch test for user applications has been added and additional assertions around failing of 'launch' on a currently-launched Application."},"comment":{"url":"https://api.github.com/repos/facebook/FBSimulatorControl/issues/comments/181830569","html_url":"https://github.com/facebook/FBSimulatorControl/pull/204#issuecomment-181830569","issue_url":"https://api.github.com/repos/facebook/FBSimulatorControl/issues/204","id":181830569,"user":{"login":"lawrencelomax","id":217883,"avatar_url":"https://avatars.githubusercontent.com/u/217883?v=3","gravatar_id":"","url":"https://api.github.com/users/lawrencelomax","html_url":"https://github.com/lawrencelomax","followers_url":"https://api.github.com/users/lawrencelomax/followers","following_url":"https://api.github.com/users/lawrencelomax/following{/other_user}","gists_url":"https://api.github.com/users/lawrencelomax/gists{/gist_id}","starred_url":"https://api.github.com/users/lawrencelomax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lawrencelomax/subscriptions","organizations_url":"https://api.github.com/users/lawrencelomax/orgs","repos_url":"https://api.github.com/users/lawrencelomax/repos","events_url":"https://api.github.com/users/lawrencelomax/events{/privacy}","received_events_url":"https://api.github.com/users/lawrencelomax/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T11:46:01Z","updated_at":"2016-02-09T11:46:01Z","body":"Reviewed by @mmmulani IRL."}}