From fd842a7a0ed6d0ab5c7de99d67ff214cf2a43cb0 Mon Sep 17 00:00:00 2001 From: "Arjun G. Menon" Date: Sat, 3 Aug 2024 03:33:39 -0400 Subject: [PATCH] Add one more condition for --ignore --- alteza/engine.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/alteza/engine.py b/alteza/engine.py index c6df440..e5535bb 100644 --- a/alteza/engine.py +++ b/alteza/engine.py @@ -477,6 +477,8 @@ def on_any_event(self, event: FileSystemEvent) -> None: return if "__pycache__" in event.src_path or "__pycache__" in event.dest_path: return + if os.path.basename(os.path.normpath(event.src_path)).startswith("."): + return if ( isinstance(event, DirModifiedEvent) and event.src_path == self.contentDirAbsPath