Skip to content
Commit e5cfa394 authored by Chris Bainbridge's avatar Chris Bainbridge Committed by Tim Graham
Browse files

Refs #23882 -- Added detection for moved files when using inotify polling

Commit 15f82c70 ("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.
parent 13dca01a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment