I started a new project in Django 3.2. Unlike what I am used to, on my development machine the runserver restarts automatically when I change template files (HTML files). I am not used to this happening - normally these would always be loaded from disk and changes did not require a restart. A restart is fast but not instantaneous and I rather have the old behavior. I checked the changelog and the runserver documentation but I am not sure if this really is a recent change, or a setting, or if I am overlooking something.
Anyone any idea? Below the output of the server in my docker container where you can see that a change to an HTML file triggers the restart...
web_1 | /src/templates/_nav.html changed, reloading.
web_1 | Watching for file changes with StatReloader
web_1 | Performing system checks...
web_1 |
web_1 | System check identified no issues (0 silenced).
web_1 | April 27, 2021 - 14:16:17
web_1 | Django version 3.2, using settings 'demo.settings'
web_1 | Starting development server at http://0.0.0.0:8000/
web_1 | Quit the server with CONTROL-C.