From f2300787f5033a9bc884f941ab32ac9367a8b013 Mon Sep 17 00:00:00 2001 From: Jonathan Cammisuli Date: Mon, 21 Aug 2023 13:28:36 -0400 Subject: [PATCH] fix(core): handle symlinks better for watch events on arch (#18743) --- packages/nx/src/native/watch/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nx/src/native/watch/utils.rs b/packages/nx/src/native/watch/utils.rs index 62a3a4922f4e8..568afd8a55d4b 100644 --- a/packages/nx/src/native/watch/utils.rs +++ b/packages/nx/src/native/watch/utils.rs @@ -53,7 +53,7 @@ pub(super) fn get_ignore_files>(root: T) -> Vec { static OS_PLATFORM: Lazy = Lazy::new(os_type::current_platform); pub(super) fn transform_event(watch_event: &Event) -> Option { - if OS_PLATFORM.os_type == OSType::Debian { + if OS_PLATFORM.os_type == OSType::Debian || OS_PLATFORM.os_type == OSType::Arch { let tags = watch_event .tags .clone()