Skip to content

Commit

Permalink
Add one more condition for --ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
arjun-menon committed Aug 3, 2024
1 parent f5614be commit fd842a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions alteza/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd842a7

Please sign in to comment.