- OS version and name: Windows 10 (16179)
- Hyper.app version: 1.3.1
- Link of a Gist with the contents of your .hyper.js: Default
- Relevant information from devtools (CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere): N/A
- The issue is reproducible in vanilla Hyper.app: Yes
Issue
Relevant to the following hyper issues:
Relevant to the following gaze issues:
About 2 weeks ago I started seeing the following when starting hyper. I wasn't sure what had changed. It was not a new hyper version, but I had just upgraded to the 16176 Windows Insider build - although I'm also sure that didn't cause it - confused ... I started investigating.

The only item being added to glaze from hyper for watching seems to be the .hyper.js file in the user's HOME folder. But I noticed (after putting tons of logging into glaze) that it added the .hyper.js file to its watch list, but then also added all the sub-folders in my HOME folder too. This is caused by the following logic within glaze:
Once glaze starts watching additional folders in the HOME folder, there are a number of permission and other types of errors that start happening for various users. In my case above, the OneDrive folders have a specific REPARSE POINT which causes the fs.lstatSync call made by glaze to throw a EINVAL error. I'm adding issues to the glaze and node repos for this.
If hyper could ensure that only the .hyper.js file was watched, then I believe that all of the referenced issues would be resolved.
Issue
Relevant to the following
hyperissues:Relevant to the following
gazeissues:About 2 weeks ago I started seeing the following when starting hyper. I wasn't sure what had changed. It was not a new hyper version, but I had just upgraded to the 16176 Windows Insider build - although I'm also sure that didn't cause it - confused ... I started investigating.
The only item being added to glaze from hyper for watching seems to be the
.hyper.jsfile in the user'sHOMEfolder. But I noticed (after putting tons of logging into glaze) that it added the.hyper.jsfile to its watch list, but then also added all the sub-folders in myHOMEfolder too. This is caused by the following logic within glaze:Once glaze starts watching additional folders in the
HOMEfolder, there are a number of permission and other types of errors that start happening for various users. In my case above, the OneDrive folders have a specificREPARSE POINTwhich causes thefs.lstatSynccall made by glaze to throw aEINVALerror. I'm adding issues to the glaze and node repos for this.If hyper could ensure that only the
.hyper.jsfile was watched, then I believe that all of the referenced issues would be resolved.