By default, the Django command runserverautomatically restarts the server when python files change or template.
Is it possible to configure Django to continue to control files for this purpose in other directories or file sets such as JavaScript or CSS files to be used statically (during development)?
This would be useful in this scenario: the Django application reads a set of static text files at startup, and I would like the server to re-read them when they change, without the need to add this specific function - just restarting would be fine.
Do I need to start interfering with (or expanding) django/utils/autoreload.py?
wodow source
share