#34479: Support "watchfiles" in the autoreloader
--------------------------------------+------------------------------------
Reporter: Tom Forbes | Owner: (none)
Type: Cleanup/optimization | Status: new
Component: Utilities | Version: 4.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Adam Johnson):
* cc: Adam Johnson (added)
Comment:
I've just rounded out some issues in django-watchfiles, so I now consider
it pretty stable: https://adamj.eu/tech/2025/09/22/introducing-django-
watchfiles/ .
This can serve as a base for merging the feature into Django core.
It's worth noting that correct support of globbing currently relies on
Python 3.13+, through `pathlib.Path.full_match()`. I didn't deem it
feasible to backport that function for old Pythons. Since Django's current
in-development version, 6.1, targets Python 3.12+, that will need figuring
out - perhaps making the watchfiles reloader only work on Python 3.13+ ?
--
Ticket URL: <https://code.djangoproject.com/ticket/34479#comment:13>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019976295cae-5aa0c247-ba8e-4aa5-a80a-61501e1fc779-000000%40eu-central-1.amazonses.com.