{"action":"created","issue":{"url":"https://api.github.com/repos/zeit/hyperterm/issues/225","repository_url":"https://api.github.com/repos/zeit/hyperterm","labels_url":"https://api.github.com/repos/zeit/hyperterm/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/zeit/hyperterm/issues/225/comments","events_url":"https://api.github.com/repos/zeit/hyperterm/issues/225/events","html_url":"https://github.com/zeit/hyperterm/issues/225","id":166032273,"number":225,"title":"JavaScript error in main process","user":{"login":"isaacs","id":9287,"avatar_url":"https://avatars.githubusercontent.com/u/9287?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacs","html_url":"https://github.com/isaacs","followers_url":"https://api.github.com/users/isaacs/followers","following_url":"https://api.github.com/users/isaacs/following{/other_user}","gists_url":"https://api.github.com/users/isaacs/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacs/subscriptions","organizations_url":"https://api.github.com/users/isaacs/orgs","repos_url":"https://api.github.com/users/isaacs/repos","events_url":"https://api.github.com/users/isaacs/events{/privacy}","received_events_url":"https://api.github.com/users/isaacs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zeit/hyperterm/labels/Priority:%20High","name":"Priority: High","color":"E93C3C"},{"url":"https://api.github.com/repos/zeit/hyperterm/labels/Status:%20Help%20Wanted","name":"Status: Help Wanted","color":"72F4A6"},{"url":"https://api.github.com/repos/zeit/hyperterm/labels/Type:%20Bug","name":"Type: Bug","color":"ee0701"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-07-18T07:09:40Z","updated_at":"2016-09-11T17:16:39Z","closed_at":null,"body":"Seems to be triggered by the hypterterm-1password plugin, so it might be a problem with that extension.  Figured I'd share it anyhow, since probably this shouldn't be possible anyway.\r\n\r\n```\r\nUncaught Exception:\r\nError: watch /Users/isaacs/.node-spawn-wrap-24946-c86a459da0b6 ENOENT\r\n    at exports._errnoException (util.js:949:11)\r\n    at FSWatcher.start (fs.js:1433:19)\r\n    at Object.fs.watch (fs.js:1460:11)\r\n    at Gaze._watchDir (/Applications/HyperTerm.app/Contents/Resources/app/node_modules/gaze/lib/gaze.js:288:30)\r\n    at /Applications/HyperTerm.app/Contents/Resources/app/node_modules/gaze/lib/gaze.js:357:10\r\n    at iterate (/Applications/HyperTerm.app/Contents/Resources/app/node_modules/gaze/lib/helper.js:69:5)\r\n    at /Applications/HyperTerm.app/Contents/Resources/app/node_modules/gaze/lib/helper.js:78:11\r\n    at /Applications/HyperTerm.app/Contents/Resources/app/node_modules/gaze/lib/gaze.js:422:5\r\n    at iterate (/Applications/HyperTerm.app/Contents/Resources/app/node_modules/gaze/lib/helper.js:69:5)\r\n    at /Applications/HyperTerm.app/Contents/Resources/app/node_modules/gaze/lib/helper.js:78:11\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/zeit/hyperterm/issues/comments/246191692","html_url":"https://github.com/zeit/hyperterm/issues/225#issuecomment-246191692","issue_url":"https://api.github.com/repos/zeit/hyperterm/issues/225","id":246191692,"user":{"login":"whitelynx","id":285264,"avatar_url":"https://avatars.githubusercontent.com/u/285264?v=3","gravatar_id":"","url":"https://api.github.com/users/whitelynx","html_url":"https://github.com/whitelynx","followers_url":"https://api.github.com/users/whitelynx/followers","following_url":"https://api.github.com/users/whitelynx/following{/other_user}","gists_url":"https://api.github.com/users/whitelynx/gists{/gist_id}","starred_url":"https://api.github.com/users/whitelynx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitelynx/subscriptions","organizations_url":"https://api.github.com/users/whitelynx/orgs","repos_url":"https://api.github.com/users/whitelynx/repos","events_url":"https://api.github.com/users/whitelynx/events{/privacy}","received_events_url":"https://api.github.com/users/whitelynx/received_events","type":"User","site_admin":false},"created_at":"2016-09-11T17:16:39Z","updated_at":"2016-09-11T17:16:39Z","body":"Pretty sure this is because [we don't handle the `error` event from `gaze`](https://github.com/zeit/hyperterm/blob/aaed99abac97a3d6b1766f194522a69e8a994bcb/app/config.js#L15). According to @shama's [comment](https://github.com/zeit/hyperterm/issues/542#issuecomment-237132139) on #542, the bug was fixed on `gaze`'s side, but that just means the error now gets emitted from the `gaze` object, instead of being unhandled on the `FSWatcher` object. We still need to handle that event in HyperTerm's code, or it will crash the process in the same way."}}
{"actor":{"display_login":"whitelynx"}}