From 98701be20c223d1130a1f423c8ca3b520c9d4a95 Mon Sep 17 00:00:00 2001 From: Matthew Date: Sat, 23 Aug 2025 15:49:53 +1000 Subject: [PATCH] fix ignored parameter from testing --- platform.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.d b/platform.d index 56bb095..528fcc5 100644 --- a/platform.d +++ b/platform.d @@ -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; }