![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
.. image:: https://img.shields.io/github/actions/workflow/status/adamchainz/django-watchfiles/main.yml.svg?branch=main&style=for-the-badge :target: https://github.com/adamchainz/django-watchfiles/actions?workflow=CI
.. image:: https://img.shields.io/badge/Coverage-100%25-success?style=for-the-badge :target: https://github.com/adamchainz/django-watchfiles/actions?workflow=CI
.. image:: https://img.shields.io/pypi/v/django-watchfiles.svg?style=for-the-badge :target: https://pypi.org/project/django-watchfiles/
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge :target: https://github.com/psf/black
.. image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=for-the-badge :target: https://github.com/pre-commit/pre-commit :alt: pre-commit
Use watchfiles <https://watchfiles.helpmanual.io/>
__ in Django’s autoreloader.
Improve your Django and Git skills with my books <https://adamj.eu/books/>
__.
Python 3.9 to 3.13 supported.
Django 4.2 to 5.2 supported.
Install with pip:
.. code-block:: sh
python -m pip install django-watchfiles
Add django-watchfiles to your INSTALLED_APPS
:
.. code-block:: python
INSTALLED_APPS = [
...,
"django_watchfiles",
...,
]
That’s it! 😅
Django doesn’t provide an official API for alternative autoreloader classes.
Therefore, django-watchfiles monkey-patches django.utils.autoreload
to make its own reloader the only available class.
You can tell it is installed as runserver
will list WatchfilesReloader
as in use:
.. code-block:: shell
$ ./manage.py runserver Watching for file changes with WatchfilesReloader ...
Unlike Django’s built-in WatchmanReloader
, there is no need for a fallback to StatReloader
, since watchfiles
implements its own internal fallback to using stat
.
FAQs
Use watchfiles in Django’s autoreloader.
We found that django-watchfiles demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.