diff --git a/lib/std/Build/Watch.zig b/lib/std/Build/Watch.zig index e9b4449748..e4bef7ca4e 100644 --- a/lib/std/Build/Watch.zig +++ b/lib/std/Build/Watch.zig @@ -19,6 +19,7 @@ pub const fan_mask: std.os.linux.fanotify.MarkMask = .{ .MOVED_FROM = true, .MOVED_TO = true, .MOVE_SELF = true, + .ONDIR = true, }; pub const init: Watch = .{