{"action":"created","issue":{"url":"https://api.github.com/repos/codaco/Network-Canvas/issues/480","repository_url":"https://api.github.com/repos/codaco/Network-Canvas","labels_url":"https://api.github.com/repos/codaco/Network-Canvas/issues/480/labels{/name}","comments_url":"https://api.github.com/repos/codaco/Network-Canvas/issues/480/comments","events_url":"https://api.github.com/repos/codaco/Network-Canvas/issues/480/events","html_url":"https://github.com/codaco/Network-Canvas/pull/480","id":318442349,"number":480,"title":"Improve dev workflows on devices & sims","user":{"login":"bryfox","id":39674,"avatar_url":"https://avatars2.githubusercontent.com/u/39674?v=4","gravatar_id":"","url":"https://api.github.com/users/bryfox","html_url":"https://github.com/bryfox","followers_url":"https://api.github.com/users/bryfox/followers","following_url":"https://api.github.com/users/bryfox/following{/other_user}","gists_url":"https://api.github.com/users/bryfox/gists{/gist_id}","starred_url":"https://api.github.com/users/bryfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryfox/subscriptions","organizations_url":"https://api.github.com/users/bryfox/orgs","repos_url":"https://api.github.com/users/bryfox/repos","events_url":"https://api.github.com/users/bryfox/events{/privacy}","received_events_url":"https://api.github.com/users/bryfox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/codaco/Network-Canvas/milestones/12","html_url":"https://github.com/codaco/Network-Canvas/milestone/12","labels_url":"https://api.github.com/repos/codaco/Network-Canvas/milestones/12/labels","id":2686390,"number":12,"title":"Alpha.4 - Gresley","description":"","creator":{"login":"katebanner","id":25466051,"avatar_url":"https://avatars1.githubusercontent.com/u/25466051?v=4","gravatar_id":"","url":"https://api.github.com/users/katebanner","html_url":"https://github.com/katebanner","followers_url":"https://api.github.com/users/katebanner/followers","following_url":"https://api.github.com/users/katebanner/following{/other_user}","gists_url":"https://api.github.com/users/katebanner/gists{/gist_id}","starred_url":"https://api.github.com/users/katebanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katebanner/subscriptions","organizations_url":"https://api.github.com/users/katebanner/orgs","repos_url":"https://api.github.com/users/katebanner/repos","events_url":"https://api.github.com/users/katebanner/events{/privacy}","received_events_url":"https://api.github.com/users/katebanner/received_events","type":"User","site_admin":false},"open_issues":48,"closed_issues":5,"state":"open","created_at":"2017-08-07T19:04:26Z","updated_at":"2018-05-02T14:37:41Z","due_on":"2018-05-25T07:00:00Z","closed_at":null},"comments":4,"created_at":"2018-04-27T14:59:05Z","updated_at":"2018-05-03T01:15:39Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/codaco/Network-Canvas/pulls/480","html_url":"https://github.com/codaco/Network-Canvas/pull/480","diff_url":"https://github.com/codaco/Network-Canvas/pull/480.diff","patch_url":"https://github.com/codaco/Network-Canvas/pull/480.patch"},"body":"This adds native support to the 'live-reload' dev workflow. Specifically: cordova & its plugins should all work; electron should work as expected (no shims).\r\n\r\nSee information in the readme, but the gist is that you start up a frontend and then a native app (on device or emulator) by providing one of `android`, `electron`, or `ios` as a platform: `npm run start:[platform]` + `npm run [platform]:dev`.\r\n\r\nFor example: `npm run start:ios`; `npm run ios:dev -- --target=\"iPad-Pro, 11.3\"`.\r\n\r\nNote I renamed 'run dev:[platform]' to 'run [platform]:dev' to be more consistent.\r\n\r\nThe caveat is that you specify one platform up front, and the content served is platform-specific. (My use case is being able to quickly develop features that rely on MDNS/zeroconf.)\r\n\r\nStandard browser development (`npm start`) is unchanged.\r\n\r\nProduction builds are unchanged.\r\n\r\nI marked as WIP for now; I want to work with this more before a merge is considered, but it seems to be doing well on macOS with simulators & external devices."},"comment":{"url":"https://api.github.com/repos/codaco/Network-Canvas/issues/comments/386167510","html_url":"https://github.com/codaco/Network-Canvas/pull/480#issuecomment-386167510","issue_url":"https://api.github.com/repos/codaco/Network-Canvas/issues/480","id":386167510,"user":{"login":"rebeccamadsen","id":16093053,"avatar_url":"https://avatars3.githubusercontent.com/u/16093053?v=4","gravatar_id":"","url":"https://api.github.com/users/rebeccamadsen","html_url":"https://github.com/rebeccamadsen","followers_url":"https://api.github.com/users/rebeccamadsen/followers","following_url":"https://api.github.com/users/rebeccamadsen/following{/other_user}","gists_url":"https://api.github.com/users/rebeccamadsen/gists{/gist_id}","starred_url":"https://api.github.com/users/rebeccamadsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebeccamadsen/subscriptions","organizations_url":"https://api.github.com/users/rebeccamadsen/orgs","repos_url":"https://api.github.com/users/rebeccamadsen/repos","events_url":"https://api.github.com/users/rebeccamadsen/events{/privacy}","received_events_url":"https://api.github.com/users/rebeccamadsen/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T01:15:39Z","updated_at":"2018-05-03T01:15:39Z","author_association":"CONTRIBUTOR","body":"My config.xml file was a little funky at times (yes, references to alpha.3). Maybe a cache thing of some sort?? I can't figure it why it was funky, but after switching branches and rebuilding I think this is working for me in android with live reloading!\r\n\r\nAlthough the app doesn't update with changes to the protocol.json file like electron and chrome do. Is that an expected limitation of android or extraneous windows funkiness?"}}
{"actor":{"display_login":"rebeccamadsen"}}