#28602: Filesystem watcher based autoreload implementation for Windows platform
-------------------------------+--------------------------------------
Reporter: Adam Sowa | Owner: nobody
Type: Uncategorized | Status: new
Component: Utilities | Version: 1.11
Severity: Normal | Resolution:
Keywords: autoreload | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Description changed by Adam Sowa:
Old description:
> Currently utils/autoreload.py has implementation for inotify based file
> system watcher. On Windows it scans all files for changes every 1 second
> which takes a lot of CPU. Windows provides file system watching API
> (FindFirstChangeNotification) which does the same thing as inotify on
> Linux. Django should take advantage of the API to make autoreloader more
> efficient.
New description:
Currently utils/autoreload.py has implementation for inotify based file
system watcher. On Windows it scans all files for changes every 1 second
which takes a lot of CPU. Windows provides file system watching API
(FindFirstChangeNotification) which does the same thing as inotify on
Linux. Django should take advantage of the API to make autoreload more
efficient.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/28602#comment:1>
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/066.b7114a25d458e517fd2ec0c3d27983c7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.