-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Watchfiles watches files outside of django source root #83
Comments
django-watchfiles does nothing special with paths - it only tries to watch the paths that Django would watch anyway - python files, templates, etc. I would expect that if you see an error with watchfiles, you see it without (Django’s |
I would prefer a setting variable where we can exclude certain paths. much like #11 for now i sudo chmod 777 my docker volume. it works but it's nasty and I have to do this quite often. |
You didn’t respond to my request about what happens with I am not sure we should add any setting here, as the file paths to watch all come from Django. |
Closing for now, unless we get any extra details. |
Python Version
3.11
Django Version
5.x
Package Version
0.1.0
Description
Watchfiles watches files outside of the django BASE_DIR i.e. in local docker volumes and fails with permission denied.
PermissionError: Permission denied (os error 13) about
Warchfiles should only watch from BASE_DIR or allow some folders to be excluded via configuration.
The text was updated successfully, but these errors were encountered: