Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Switch from pywatchman to watchfiles #1244

Open
jmbowman opened this issue Dec 19, 2023 · 0 comments
Open

Switch from pywatchman to watchfiles #1244

jmbowman opened this issue Dec 19, 2023 · 0 comments

Comments

@jmbowman
Copy link
Contributor

The watchman/pywatchman combination that Django uses in runserver to efficiently monitor file changes currently doesn't work above Python 3.8. Before we finish a Python 3.11 or 3.12 upgrade, we should switch over to django-watchfiles (or at least revisit the issues tracking this to see if a better solution is available by then).

Another advantage of doing so: this would eliminate the need to install the native watchman package, as watchfiles is a standard pip install that includes pre-compiled Rust code for performance.

References:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant