Skip to content

Commit

Permalink
ファイル変更監視の除外フィルタを適用した
Browse files Browse the repository at this point in the history
  • Loading branch information
ritalin committed Nov 20, 2024
1 parent 5dad130 commit f92f411
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stages/watch-files/build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
.lib_core = .{ .path = "../../lib/core" },
.clap = .{ .path = "../../vendor/zig-clap" },
.efsw = .{
.url = "git+https://github.com/ritalin/zig-efsw#5e49033e4d1962cd6994c4028f4ad96ca9cda1f9",
.hash = "12207f5fe97a4db39ac0c3725fd9181a8a0d8f507218b440b6a9f6c83b9698004e8a",
.url = "git+https://github.com/ritalin/zig-efsw#90e866abda3fe118b4a47afcbe73d92b16243caa",
.hash = "12203313bd744ab8576094636200708d66b7524b9cb3fe3e204a3c288d1b47386117",
},
},

Expand Down
1 change: 1 addition & 0 deletions stages/watch-files/src/Stage.zig
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ const WatcherWrapper = struct {
.on_add = handleSourceFile,
.on_modified = handleSourceFile,
.recursive = true,
.mac_modified_exclude_filter = .{.finder_info = true, .inode = true},
.user_data = context,
});
}
Expand Down

0 comments on commit f92f411

Please sign in to comment.