Skip to content

Commit

Permalink
ignore_permission_denied
Browse files Browse the repository at this point in the history
  • Loading branch information
earshinov committed Mar 27, 2024
1 parent 39e90e5 commit 9298703
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ classifiers = [
]
dependencies = [
"Django>=3.2",
"watchfiles",
"watchfiles>=0.20",
]
urls = {Changelog = "https://github.com/adamchainz/django-watchfiles/blob/main/CHANGELOG.rst",Funding = "https://adamj.eu/books/",Repository = "https://github.com/adamchainz/django-watchfiles"}

Expand Down
1 change: 1 addition & 0 deletions src/django_watchfiles/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def __iter__(self) -> Generator[Any, None, None]: # TODO: better type
debounce=False,
rust_timeout=100,
yield_on_timeout=True,
ignore_permission_denied=True,
):
if self.change_event.is_set():
break
Expand Down

0 comments on commit 9298703

Please sign in to comment.