#30323: Django 2.2 autoreloader is failing intermittently (not using watchman)
---------------------------------+--------------------------------------
Reporter: Mark Chackerian | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 2.2
Severity: Normal | Resolution:
Keywords: autoreloader | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Comment (by Tom Forbes):
I've just been going through the 2.1 autoreloader code and I noticed an
omission:
{{{
if _win:
mtime -= stat.st_ctime
}}}
It references this ticket: https://code.djangoproject.com/ticket/937. I'm
really not clear on if this is the root cause of any issues on Windows
(the MSDN documentation is pretty unclear), but I will include a PR to
include it anyway: https://github.com/django/django/pull/11176
I have a few more thoughts on potential causes, but the output from the
autoreloader logger is critical if we have any hope of finding out the
root cause.
--
Ticket URL: <https://code.djangoproject.com/ticket/30323#comment:5>
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/069.fe07bcb7e22287516bd4c792f44066a1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.