-
-
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
Manage watchfiles settings #10
base: main
Are you sure you want to change the base?
Conversation
hooks: | ||
- id: pyupgrade | ||
args: [--py37-plus] | ||
- repo: https://github.com/psf/black | ||
rev: 22.1.0 | ||
rev: 22.8.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated pre-commit hooks since black 22.1.0 was broken
v3 = DEBUG, v2 = INFO, v1 = WARN
@adamchainz This looks like a solid contribution. Does this align with your vision for the project? |
Very much thumbs up for this 👍 It's practically unusable for me without this patch. I get like an endless amount of debug output even when I haven't changed a file. We started using this at work and my colleagues doesn't experience the same problem as me though. |
Great contribution! Looking forward to release. IMO this is the key part missing to give django-watchfiles a decent developer experience. |
@adamchainz Could you please take a look at this PR and give your feedback? It's been open for a year now and is a blocker for me and other people to adopt django-watchfiles. Thank you! |
If changes were reverted from the |
I've replaced
autoreload.get_reloader
withautoreload.run_with_reloader
to get verbosity level to setup debug mode. Other settings you can get from the project settingsWATCHFILES
, e.g.: