diff options
| author | Chris Bainbridge <chris.bainbridge@gmail.com> | 2015-05-29 16:32:57 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-07-07 12:26:36 -0400 |
| commit | b252e0f35076c0585496b50ad1361ca419059104 (patch) | |
| tree | 570c297fb08b89f48bf53e17501f66a1f15ddf75 /tests/validators | |
| parent | 6840aaf3c12f975347c5efaea638d43639bc19c2 (diff) | |
[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
Diffstat (limited to 'tests/validators')
0 files changed, 0 insertions, 0 deletions
