feat: implement auto subdirectory watching for platforms that don't watch trees
This commit is contained in:
parent
9dda7efc25
commit
9b4d7c2121
2 changed files with 74 additions and 7 deletions
|
|
@ -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});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue