feat: implement auto subdirectory watching for platforms that don't watch trees

This commit is contained in:
CJ van den Berg 2026-03-07 19:54:49 +01:00
parent 9dda7efc25
commit 9b4d7c2121
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 74 additions and 7 deletions

View file

@ -161,6 +161,7 @@ pub fn main() !void {
for (args[1..]) |path| {
watcher.watch(path) catch |err| {
try stderr.interface.print("nightwatch: {s}: {s}\n", .{ path, @errorName(err) });
continue;
};
try stderr.interface.print("on watch: {s}\n", .{path});
}