{"action":"created","issue":{"url":"https://api.github.com/repos/zeit/hyper/issues/1721","repository_url":"https://api.github.com/repos/zeit/hyper","labels_url":"https://api.github.com/repos/zeit/hyper/issues/1721/labels{/name}","comments_url":"https://api.github.com/repos/zeit/hyper/issues/1721/comments","events_url":"https://api.github.com/repos/zeit/hyper/issues/1721/events","html_url":"https://github.com/zeit/hyper/issues/1721","id":218157175,"number":1721,"title":"unresponsive after many render updates while app is hidden","user":{"login":"juliangruber","id":10247,"avatar_url":"https://avatars1.githubusercontent.com/u/10247?v=3","gravatar_id":"","url":"https://api.github.com/users/juliangruber","html_url":"https://github.com/juliangruber","followers_url":"https://api.github.com/users/juliangruber/followers","following_url":"https://api.github.com/users/juliangruber/following{/other_user}","gists_url":"https://api.github.com/users/juliangruber/gists{/gist_id}","starred_url":"https://api.github.com/users/juliangruber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliangruber/subscriptions","organizations_url":"https://api.github.com/users/juliangruber/orgs","repos_url":"https://api.github.com/users/juliangruber/repos","events_url":"https://api.github.com/users/juliangruber/events{/privacy}","received_events_url":"https://api.github.com/users/juliangruber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-03-30T10:51:04Z","updated_at":"2017-05-16T09:56:11Z","closed_at":null,"body":"<!--\r\n  Hi there! Thank you for discovering and submitting an issue. \r\n\r\n  Before you submit this; let's make sure of a few things. \r\n  Please make sure the following boxes are ticked if they are correct.\r\n  If not, please try and fulfil these first.\r\n-->\r\n\r\n<!-- Checked checkbox should look like this: [x] -->\r\n- [x] I am on the [latest](https://github.com/zeit/hyper/releases/latest) Hyper.app version\r\n- [x] I have searched the [issues](https://github.com/zeit/hyper/issues) of this repo and believe that this is not a duplicate\r\n\r\n<!-- \r\n  Once those are done, if you're able to fill in the following list with your information,\r\n  it'd be very helpful to whoever handles the issue.\r\n-->\r\n\r\n- **OS version and name**: macOS 10.12.13\r\n- **Hyper.app version**: 1.3.1\r\n- **Link of a [Gist](https://gist.github.com/) with the contents of your .hyper.js**: https://gist.github.com/juliangruber/8ba854b0f6a022ff188d64b59c315364\r\n- **Relevant information from devtools** _(CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere)_: N/A (unresponsive)\r\n- **The issue is reproducible in vanilla Hyper.app**: Yes\r\n\r\n## Issue\r\n\r\nWhen you run a long running command that re-renders its content frequently - say because it displays a spinner - it's common to background the app and come back to it later. If I don't background the app, everything works as excepted. However, when I do, and I come back, hyper is completely unresponsive and the output has stalled some time ago. You can't input, can't open the dev tools, and no fresh output is rendered.\r\n\r\nI get the impression that it's batching up all the updates until the app is visible again, and then is stuck on that?\r\n\r\nA way to test this is to run https://github.com/juliangruber/travis-watch on a travis enabled project where builds take a long time. Start the watch process, background hyper, come back after a few minutes.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/zeit/hyper/issues/comments/301733716","html_url":"https://github.com/zeit/hyper/issues/1721#issuecomment-301733716","issue_url":"https://api.github.com/repos/zeit/hyper/issues/1721","id":301733716,"user":{"login":"juliangruber","id":10247,"avatar_url":"https://avatars1.githubusercontent.com/u/10247?v=3","gravatar_id":"","url":"https://api.github.com/users/juliangruber","html_url":"https://github.com/juliangruber","followers_url":"https://api.github.com/users/juliangruber/followers","following_url":"https://api.github.com/users/juliangruber/following{/other_user}","gists_url":"https://api.github.com/users/juliangruber/gists{/gist_id}","starred_url":"https://api.github.com/users/juliangruber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliangruber/subscriptions","organizations_url":"https://api.github.com/users/juliangruber/orgs","repos_url":"https://api.github.com/users/juliangruber/repos","events_url":"https://api.github.com/users/juliangruber/events{/privacy}","received_events_url":"https://api.github.com/users/juliangruber/received_events","type":"User","site_admin":false},"created_at":"2017-05-16T09:56:11Z","updated_at":"2017-05-16T09:56:11Z","body":"I'm seeing this with the dat-desktop app too, and there I know it's just too many queued up render fns which all get called once the window is showed again"}}
{"actor":{"display_login":"juliangruber"}}