Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use event.Has func for file change notification handling (increa…
…sed stability across OS) (#361) <!-- Please use this template for your pull request. --> <!-- Please use the sections that you need and delete other sections --> ## This PR - Uses event.Has func for file change notification handling (instead of direct comparison). This is the correct approach as [expressed directly in fsnotify's code](https://github.com/fsnotify/fsnotify/blob/main/fsnotify.go#L39). ### Related Issues <!-- add here the GitHub issue that this PR resolves if applicable --> Fixes #313 ### Notes <!-- any additional notes for this PR --> ### Follow-up Tasks <!-- anything that is related to this PR but not done here should be noted under this section --> <!-- if there is a need for a new issue, please link it here --> ### How to test <!-- if applicable, add testing instructions under this section --> --------- Signed-off-by: Skye Gill <[email protected]> Signed-off-by: Todd Baert <[email protected]> Co-authored-by: Todd Baert <[email protected]>
- Loading branch information