avoid file system watches on read-only mounts #20669
Labels
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
optimization
os-linux
zig build system
std.Build, the build runner, `zig build` subcommand, package management
Milestone
Follow-up from #20580.
name_to_handle_at
gives us a mount ID here:zig/lib/std/Build/Watch.zig
Line 101 in 8ab70f8
If this mount is read-only then the watch system should not waste any resources placing a mark on any directories within because they will never change!
Related:
The text was updated successfully, but these errors were encountered: