You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After experiencing the following issue in hyper which uses gaze, I noticed that all sub-folders in my HOME were being scanned instead of just the HOME/.hyper.js file that hyper had configured gaze to watch.
It also appears that in my case, the OneDrive folder has a specific type of reparse point that fs.lstatSync cannot handle. I ran a simple app against my home folder and fs.lstatSync will handle all other junctions in my HOME, just not the folders added by OneDrive.
Referenced issues:
Issue
After experiencing the following issue in hyper which uses gaze, I noticed that all sub-folders in my
HOME
were being scanned instead of just theHOME/.hyper.js
file that hyper had configured gaze to watch.It also appears that in my case, the OneDrive folder has a specific type of reparse point that
fs.lstatSync
cannot handle. I ran a simple app against my home folder andfs.lstatSync
will handle all other junctions in myHOME
, just not the folders added by OneDrive.Would it make sense to alter:
gaze.js - line 301-303
to the following:
or only catch the error if
e.code === "EINVAL"
. At least until this can be resolved upstream in the node repo forfs.lstatSync
.The text was updated successfully, but these errors were encountered: