{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/create-react-app/issues/1826","repository_url":"https://api.github.com/repos/facebook/create-react-app","labels_url":"https://api.github.com/repos/facebook/create-react-app/issues/1826/labels{/name}","comments_url":"https://api.github.com/repos/facebook/create-react-app/issues/1826/comments","events_url":"https://api.github.com/repos/facebook/create-react-app/issues/1826/events","html_url":"https://github.com/facebook/create-react-app/issues/1826","id":214293730,"number":1826,"title":"Chrome is always used, regardless of default browser","user":{"login":"rmccue","id":21655,"avatar_url":"https://avatars3.githubusercontent.com/u/21655?v=4","gravatar_id":"","url":"https://api.github.com/users/rmccue","html_url":"https://github.com/rmccue","followers_url":"https://api.github.com/users/rmccue/followers","following_url":"https://api.github.com/users/rmccue/following{/other_user}","gists_url":"https://api.github.com/users/rmccue/gists{/gist_id}","starred_url":"https://api.github.com/users/rmccue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmccue/subscriptions","organizations_url":"https://api.github.com/users/rmccue/orgs","repos_url":"https://api.github.com/users/rmccue/repos","events_url":"https://api.github.com/users/rmccue/events{/privacy}","received_events_url":"https://api.github.com/users/rmccue/received_events","type":"User","site_admin":false},"labels":[{"id":409578974,"url":"https://api.github.com/repos/facebook/create-react-app/labels/issue:%20bug","name":"issue: bug","color":"ee0701","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-03-15T06:18:47Z","updated_at":"2018-02-03T09:16:15Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"openBrowser [always attempts to open Chrome on macOS](https://github.com/facebookincubator/create-react-app/blob/9512d97900f12b62f1220d394d7859556719b62e/packages/react-dev-utils/openBrowser.js#L29-L34), even when Firefox is set as the default browser.\r\n\r\nIt *does* check the `BROWSER` env var, but given that this isn't set by default when setting a default browser, it's not authoritative. Instead, openBrowser assumes that if Chrome is open, it's fine to use. For developers who have multiple browsers open, this is not the case, and the behaviour is confusing.\r\n\r\nInstead, it would be great if the preferences could be checked first, perhaps using [default-browser](https://github.com/sindresorhus/default-browser)?"},"comment":{"url":"https://api.github.com/repos/facebook/create-react-app/issues/comments/362792757","html_url":"https://github.com/facebook/create-react-app/issues/1826#issuecomment-362792757","issue_url":"https://api.github.com/repos/facebook/create-react-app/issues/1826","id":362792757,"user":{"login":"sirjmkitavi","id":17447937,"avatar_url":"https://avatars2.githubusercontent.com/u/17447937?v=4","gravatar_id":"","url":"https://api.github.com/users/sirjmkitavi","html_url":"https://github.com/sirjmkitavi","followers_url":"https://api.github.com/users/sirjmkitavi/followers","following_url":"https://api.github.com/users/sirjmkitavi/following{/other_user}","gists_url":"https://api.github.com/users/sirjmkitavi/gists{/gist_id}","starred_url":"https://api.github.com/users/sirjmkitavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirjmkitavi/subscriptions","organizations_url":"https://api.github.com/users/sirjmkitavi/orgs","repos_url":"https://api.github.com/users/sirjmkitavi/repos","events_url":"https://api.github.com/users/sirjmkitavi/events{/privacy}","received_events_url":"https://api.github.com/users/sirjmkitavi/received_events","type":"User","site_admin":false},"created_at":"2018-02-03T09:16:15Z","updated_at":"2018-02-03T09:16:15Z","author_association":"NONE","body":"@GregBorrelly I wouldn't mind helping out where I can."}}
{"actor":{"display_login":"sirjmkitavi"}}