summaryrefslogtreecommitdiff
path: root/runtime/js/40_fs_events.js
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2024-10-23 09:22:58 +0530
committerGitHub <noreply@github.com>2024-10-23 09:22:58 +0530
commitbe969cb5328bb83c26022ea5307467b40647cb64 (patch)
tree510b3d7f4b6ab61f91a729300f3b773b0c5f006a /runtime/js/40_fs_events.js
parent285635daa67274f961d29c1e7795222709dc9618 (diff)
fix: share inotify fd across watchers (#26200)
Fixes https://github.com/denoland/deno/issues/26104 Fixes https://github.com/denoland/deno/issues/26071 Fixes https://github.com/denoland/deno/issues/17757
Diffstat (limited to 'runtime/js/40_fs_events.js')
-rw-r--r--runtime/js/40_fs_events.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/js/40_fs_events.js b/runtime/js/40_fs_events.js
index ec2474c0a..322ee6b3c 100644
--- a/runtime/js/40_fs_events.js
+++ b/runtime/js/40_fs_events.js
@@ -21,7 +21,7 @@ class FsWatcher {
constructor(paths, options) {
const { recursive } = options;
- this.#rid = op_fs_events_open({ recursive, paths });
+ this.#rid = op_fs_events_open(recursive, paths);
}
unref() {