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
2023-02-05T10:45:10.903Z - error: Error: EACCES: permission denied, watch '/mnt/Development/docker/docker-scratch/our-shopping-list/dbdata/diagnostic.data'
at FSWatcher.<computed> (node:internal/fs/watchers:244:19)
at Object.watch (node:fs:2296:34)
at /usr/lib/node_modules/ungit/node_modules/node-watch/lib/watch.js:398:22
at hasNativeRecursive (/usr/lib/node_modules/ungit/node_modules/node-watch/lib/has-native-recursive.js:61:12)
at Watcher.watchDirectory (/usr/lib/node_modules/ungit/node_modules/node-watch/lib/watch.js:381:3)
at /usr/lib/node_modules/ungit/node_modules/node-watch/lib/watch.js:414:16
at /usr/lib/node_modules/ungit/node_modules/node-watch/lib/watch.js:143:35
at Array.forEach (<anonymous>)
at /usr/lib/node_modules/ungit/node_modules/node-watch/lib/watch.js:141:13
at FSReqCallback.oncomplete (node:fs:192:23)
I noticed that Ungit seems to only refer to the .gitignore file in the project root when watching files. It appears that .gitignore files located in intermediate directories are ignored by Ungit.
This causes my project which includes ignored volumes from a docker container to be searched, which ungit then throws a permission error at.
I expect the files/dirs that are ignored by git to be ignored by ungit.
The text was updated successfully, but these errors were encountered: