1
0
mirror of https://github.com/django/django.git synced 2025-03-12 18:30:48 +00:00
Chris Bainbridge b252e0f350 [1.8.x] Refs #23882 -- Added detection for moved files when using inotify polling
Commit 15f82c7 ("used pyinotify as change detection system when
available") introduced a regression where editing a file in vim with
default settings (writebackup=auto) no longer causes the dev server
to be restarted. On a write, vim moves the monitored file to a backup
path and then creates a new file in the original. The new file is not
monitored as it has a different inode. Fixed this by also watching for
inotify events IN_DELETE_SELF and IN_MOVE_SELF.

Backport of e5cfa394d79b6ab1b412bd3b30c6a433b415d56b from master
2015-07-07 12:26:36 -04:00
..
2013-11-02 13:12:09 -07:00
2015-01-02 12:35:41 -05:00
2013-11-02 13:12:09 -07:00