Skip to content

Commit d5eb6da

Browse files
committed
Added ignore for caches for reload.
1 parent 95e73fc commit d5eb6da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taskiq/cli/watcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def dispatch(self, event: FileSystemEvent) -> None:
4040
if event.event_type in {"opened", "closed", "closed_no_write"}:
4141
return
4242

43-
if ".git" in event.src_path:
43+
if ".git" in event.src_path or "__pycache__" in event.src_path:
4444
return
4545

4646
try:

0 commit comments

Comments
 (0)