aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/node/node_fs_watcher.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js/node/node_fs_watcher.zig')
-rw-r--r--src/bun.js/node/node_fs_watcher.zig5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/bun.js/node/node_fs_watcher.zig b/src/bun.js/node/node_fs_watcher.zig
index d0af350c0..4819b61fe 100644
--- a/src/bun.js/node/node_fs_watcher.zig
+++ b/src/bun.js/node/node_fs_watcher.zig
@@ -364,11 +364,6 @@ pub const FSWatcher = struct {
}
},
.directory => {
- // macOS should use FSEvents for directories
- if (comptime Environment.isMac) {
- @panic("Unexpected directory watch");
- }
-
const affected = event.names(changed_files);
for (affected) |changed_name_| {