summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/utils/autoreload.py4
-rw-r--r--docs/releases/1.8.3.txt2
2 files changed, 5 insertions, 1 deletions
diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py
index f4ac4977f7..6efd6c4f58 100644
--- a/django/utils/autoreload.py
+++ b/django/utils/autoreload.py
@@ -175,7 +175,9 @@ def inotify_code_changed():
pyinotify.IN_ATTRIB |
pyinotify.IN_MOVED_FROM |
pyinotify.IN_MOVED_TO |
- pyinotify.IN_CREATE
+ pyinotify.IN_CREATE |
+ pyinotify.IN_DELETE_SELF |
+ pyinotify.IN_MOVE_SELF
)
for path in gen_filenames(only_new=True):
wm.add_watch(path, mask)
diff --git a/docs/releases/1.8.3.txt b/docs/releases/1.8.3.txt
index 104d6eb725..b549251b39 100644
--- a/docs/releases/1.8.3.txt
+++ b/docs/releases/1.8.3.txt
@@ -95,3 +95,5 @@ Bugfixes
* Fixed a regression in ``URLValidator`` that invalidated Punycode TLDs
(:ticket:`25059`).
+
+* Improved `pyinotify` ``runserver`` polling (:ticket:`23882`).