mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
std.Build.Watch: add ONDIR to fanotify event mask
This makes mkdir/rmdir events show up.
This commit is contained in:
parent
b6ed833083
commit
61d2234743
@ -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 = .{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user