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
I presume this is because ungit noticed the file exists, then by the time it got around to calling stat on it, it was gone. This seems like something you can catch and just ignore rather than crashing on. (I don't actually know how to code node.js stuff, so I don't know how difficult it actually is to catch the error, but 'file going away' seems like a thing that should be handled.)
The text was updated successfully, but these errors were encountered:
Replaced the watchr module with a normal fs.watch. However, fs.watch isn't prefect on all platforms (on Windows changes in subdirectories doesn't get picked up) so there's also an "re-activity" hack to detect when a user is interested in ungit (which triggers a refresh)
@raspofabs I've had lots of other issues with the way ungit's watching files so I'm trying a different approach; the commit above should make sure there's no more stating of files like that. Closing this for now but if the problem still remains with this fix please re-open.
I presume this is because ungit noticed the file exists, then by the time it got around to calling
stat
on it, it was gone. This seems like something you can catch and just ignore rather than crashing on. (I don't actually know how to code node.js stuff, so I don't know how difficult it actually is to catch the error, but 'file going away' seems like a thing that should be handled.)The text was updated successfully, but these errors were encountered: