{"action":"closed","issue":{"url":"https://api.github.com/repos/zeit/hyper/issues/1699","repository_url":"https://api.github.com/repos/zeit/hyper","labels_url":"https://api.github.com/repos/zeit/hyper/issues/1699/labels{/name}","comments_url":"https://api.github.com/repos/zeit/hyper/issues/1699/comments","events_url":"https://api.github.com/repos/zeit/hyper/issues/1699/events","html_url":"https://github.com/zeit/hyper/issues/1699","id":216902733,"number":1699,"title":"Hyper is reading `.hyper.js` 40 times a second, constantly.","user":{"login":"stereokai","id":2685357,"avatar_url":"https://avatars0.githubusercontent.com/u/2685357?v=3","gravatar_id":"","url":"https://api.github.com/users/stereokai","html_url":"https://github.com/stereokai","followers_url":"https://api.github.com/users/stereokai/followers","following_url":"https://api.github.com/users/stereokai/following{/other_user}","gists_url":"https://api.github.com/users/stereokai/gists{/gist_id}","starred_url":"https://api.github.com/users/stereokai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stereokai/subscriptions","organizations_url":"https://api.github.com/users/stereokai/orgs","repos_url":"https://api.github.com/users/stereokai/repos","events_url":"https://api.github.com/users/stereokai/events{/privacy}","received_events_url":"https://api.github.com/users/stereokai/received_events","type":"User","site_admin":false},"labels":[{"id":435518771,"url":"https://api.github.com/repos/zeit/hyper/labels/Type:%20Performance","name":"Type: Performance","color":"6C3FFF","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-24T20:56:38Z","updated_at":"2017-04-30T19:52:53Z","closed_at":"2017-04-30T19:52:53Z","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**: Windows 10 14393.953\r\n- **Hyper.app version**: 1.3.1\r\n- **[Link for .hyper.js](https://gist.github.com/stereokai/b377492613ad7f10073ce8049d04c8fb)**\r\n- **Relevant information from devtools** _(CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere)_:\r\n```\r\nbundle.js:1 (re)loading renderer plugins\r\nindex.html:35 total init time 739.385\r\nbundle.js:47 ignore pty exit: session removed by user\r\n```\r\n- **The issue is reproducible in vanilla Hyper.app**: YES\r\n\r\n## Issue\r\nI used ProcessMonitor and recorded Hyper reading the `.hyper.js` settings file on a loop. Why is it doing that? Seems wasteful and unnecessary. See the Gif I attached. The recording is filtered to Hyper.js events only. Check out the counter at the bottom: 28,000 Hyper.js events in appx. 3 minutes! Seeing that this is the same loop of 4 file system events, the math is 40 reads per second! What's the point?\r\n\r\n![2017-03-24_21-45-50](https://cloud.githubusercontent.com/assets/2685357/24313175/246b9690-10dc-11e7-8bb8-762d736f0201.gif)\r\n\r\n"}}
{"actor":{"display_login":"ppot"}}