#30213: Add support for a "watchdog" based autoreloader
-----------------------------+------------------------------------
     Reporter:  Tom Forbes   |                    Owner:  nobody
         Type:  New feature  |                   Status:  new
    Component:  Utilities    |                  Version:  dev
     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 Carlton Gibson):

 * cc: Carlton Gibson, Adam Johnson (added)


Comment:

 Adam recently put together a proof-of-concept for a ''Watchfiles'' based
 reloader. See https://github.com/adamchainz/django-watchfiles

 ([https://github.com/samuelcolvin/watchfiles/blob/main/docs/migrating.md
 All these reloaders... it's quite complex] 🤯).

 Watchfiles is based on the Rust Notify crate, which had good cross-
 platform support. Arguably it would be the way to go.

 Given how many options there are in this field, I wonder if we'd not be
 better served making `get_reloader()` properly pluggable, rather than
 adding (an ever growing set of) specific reloaders? 🤔

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30213#comment:4>
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 on the web visit 
https://groups.google.com/d/msgid/django-updates/01070181cd80fb16-4ad3d730-94b7-45a7-88d2-f27d7e709abb-000000%40eu-central-1.amazonses.com.

Reply via email to