#30323: Django 2.2 autoreloader is failing intermittently (not using watchman)
-----------------------------------------+------------------------------
Reporter: picturedots | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 2.2
Severity: Normal | Keywords: autoreloader
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------------
Since upgrading to Django 2.2 the autoreloader is working differently and
is not always picking up changes to .py files to reload runserver. It
seems to work consistently once on a file, but multiple changes to the
same file will not necessarily trigger a reload. It's definitely a change
in the behavior to previous versions of Django (up to 2.1.7)
I'm not using watchman.
I'm running runserver in a python 3.7 slim docker container like
./manage.py runserver 0.0.0.0:8001
As a workaround I have tried to add an edit a different .py -- that
doesn't seem to help consistently. I've also noticed that the problem
seems to sometimes go away by itself -- perhaps there is some change to
the timing of the autoreloader which is not clear? For example and ignore
interval of a certain duration.
--
Ticket URL: <https://code.djangoproject.com/ticket/30323>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/054.0b398e9b51787efb160c8675152eefbf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.