Hi Tom,
Thank you for the great summary.
> 2. Add support for the "watchdog" library as a replacement for
> pyinotify. Watchdog implements file system notifications for all major
> platforms using a fairly simple API, so we can remove polling and have
> instant reloading. Also support Watchman, a notification Daemon from
> Facebook.
Filesystem polling is required for some setup, such as mounting code
using NFS or rsync, for example using vagrant synced folders[1].
Although it does not prevent from using the watchdog library, which
provides a PollingObserver[2], I think it's worth keeping that use case
in mind. The PR has a StatReloader which seem able to handle filesystem
polling, I would suggest either keeping it or delegating the polling to
watchdog.
[1]
https://www.vagrantup.com/docs/synced-folders/nfs.html
[2]
https://pythonhosted.org/watchdog/api.html#module-watchdog.observers.polling
Cheers,
François
> --
> You received this message because you are subscribed to the Google
> Groups "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
django-develop...@googlegroups.com
> <mailto:
django-develop...@googlegroups.com>.
> To post to this group, send email to
django-d...@googlegroups.com
> <mailto:
django-d...@googlegroups.com>.
> Visit this group at
https://groups.google.com/group/django-developers.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/django-developers/CAFNZOJMT9qDk-4pKKXSJysEQCmd6CGxMZBYZs_7BQs_WbAqL6g%40mail.gmail.com
> <
https://groups.google.com/d/msgid/django-developers/CAFNZOJMT9qDk-4pKKXSJysEQCmd6CGxMZBYZs_7BQs_WbAqL6g%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit
https://groups.google.com/d/optout.