From be969cb5328bb83c26022ea5307467b40647cb64 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Wed, 23 Oct 2024 09:22:58 +0530 Subject: 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 --- runtime/js/40_fs_events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/js/40_fs_events.js') 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() { -- cgit v1.2.3