1
0
mirror of https://github.com/django/django.git synced 2025-01-13 11:57:01 +00:00

Fixed -- autoreload kqueue events weren't cleared which caused an infinite loop.

This commit is contained in:
Loic Bistuer 2013-12-03 00:12:04 +07:00
parent b8be3055f1
commit 9ccde8cfaf

View File

@ -172,7 +172,7 @@ def kqueue_code_changed():
# Utility function to create kevents.
_filter = select.KQ_FILTER_VNODE
flags = select.KQ_EV_ADD
flags = select.KQ_EV_ADD | select.KQ_EV_CLEAR
fflags = select.KQ_NOTE_DELETE | select.KQ_NOTE_WRITE | select.KQ_NOTE_RENAME
def make_kevent(descriptor):