From 82643857cc77a80f9a819584035ec147a6114553 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Wed, 1 Nov 2023 08:54:27 -0700 Subject: Revert "chore: use kqueue backend of notify on macOS" (#21039) Reverts denoland/deno#21028 Reason: https://github.com/notify-rs/notify/blob/main/notify/src/kqueue.rs#L79-L81 Need to wait for the watcher thread to spawn otherwise we hit flakes --------- Signed-off-by: Divy Srivastava --- cli/tests/node_compat/test/parallel/test-fs-watchfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tests/node_compat/test/parallel') diff --git a/cli/tests/node_compat/test/parallel/test-fs-watchfile.js b/cli/tests/node_compat/test/parallel/test-fs-watchfile.js index a23620aff..4acad4b94 100644 --- a/cli/tests/node_compat/test/parallel/test-fs-watchfile.js +++ b/cli/tests/node_compat/test/parallel/test-fs-watchfile.js @@ -107,6 +107,6 @@ if (common.isLinux || common.isOSX || common.isWindows) { fs.writeFile(path.join(dir, 'foo.txt'), 'foo', common.mustCall((err) => { if (err) assert.fail(err); })); - }, 20); + }, 1); })); } -- cgit v1.2.3