mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
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
This commit is contained in:
parent
285635daa6
commit
be969cb532
4 changed files with 72 additions and 24 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue