Skip to content

Commit

Permalink
fix: single file on macOS triggers only remove event ThomasMonkman#51
Browse files Browse the repository at this point in the history
Fix issue because on macOs only only remove event was triggered
  • Loading branch information
Undici77 committed Aug 27, 2024
1 parent fb6f823 commit f605388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FileWatch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ namespace filewatch {
eventInfos[0].file = _filename;
}
else {
StringType absPath = pathOfFd(_file_fd);
StringType absPath = fullPathOfFd(_file_fd);
PathParts split = splitPath(absPath);

if (split.directory != _path) {
Expand Down

0 comments on commit f605388

Please sign in to comment.