fix ignored parameter from testing

This commit is contained in:
Matthew 2025-08-23 15:49:53 +10:00
parent 8dc6ca9a09
commit 98701be20c

View File

@ -668,7 +668,7 @@ WatchDirectory(string dir, WatchType type, bool blocking = false)
fcntl(watcher.handle, F_SETFL, fcntl(watcher.handle, F_GETFL) | O_NONBLOCK);
}
watcher.dir_handle = inotify_add_watch(watcher.handle, dir.ptr, IN_CREATE|IN_DELETE|IN_DELETE_SELF|IN_MODIFY|IN_MOVE_SELF|IN_MOVED_FROM|IN_MOVED_TO|IN_ATTRIB|IN_EXCL_UNLINK);
watcher.dir_handle = inotify_add_watch(watcher.handle, dir.ptr, type);
return watcher;
}