mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:44:43 +01: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue