watchDirectory