std.Build.Watch: add ONDIR to fanotify event mask
This makes mkdir/rmdir events show up.
This commit is contained in:
@@ -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 = .{
|
||||
|
||||
Reference in New Issue
Block a user