diff options
author | 2023-07-25 23:55:39 -0700 | |
---|---|---|
committer | 2023-07-25 23:55:39 -0700 | |
commit | 57928f7e8061783bb7a4fb41f68d32b4b9c7bca2 (patch) | |
tree | 03c1205d6fb930ed45d41f949ebddf33de51215f /src/bun.js/node/node_fs_watcher.zig | |
parent | 6bfee02301a2e2a0b79339974af0445eb5a2688f (diff) | |
download | bun-fs-watch-file.tar.gz bun-fs-watch-file.tar.zst bun-fs-watch-file.zip |
Implement `fs.watchFile()`fs-watch-file
Closes #3812
Diffstat (limited to 'src/bun.js/node/node_fs_watcher.zig')
-rw-r--r-- | src/bun.js/node/node_fs_watcher.zig | 5 |
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_| { |