Made sure we redrew things, added in a contingency in 'save' for times when we load a non-existent file, and added some checks.

This commit is contained in:
Adam Harrison authored and jgmdev committed 2022-05-15 15:25:02 -04:00
1 parent 5a0d213f3b
commit daeb2a8e04
3 files changed
+34 -44

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ int translate_changes_dirmonitor(struct dirmonitor_internal* monitor, char* buff
int add_dirmonitor(struct dirmonitor_internal* monitor, const char* path) {
return inotify_add_watch(monitor->fd, path, IN_CREATE | IN_DELETE | IN_MOVED_FROM | IN_MOVED_TO);
return inotify_add_watch(monitor->fd, path, IN_CREATE | IN_DELETE | IN_MOVED_FROM | IN_MODIFY | IN_MOVED_TO);
}