Sept. 21, 2025

Django: Introducing django-watchfiles, for more efficient runserver autoreloading

Django’s runserver automatically reloads when you change Python files. Without this autoreloading feature, you’d need to manually restart the server every time you made a code change.

However, the default autoreloading implementation is inefficient, as it constantly polls the filesystem for changes. The alternative to polling is to …