From 182063f31ba28fb75f78a3f825400d6695da7a92 Mon Sep 17 00:00:00 2001 From: Jorge Rocha Gualtieri Date: Fri, 10 Nov 2017 16:59:35 -0200 Subject: [PATCH] Fix for "Monitoring" doesn't detect changes Fix #3142, close #3882 --- PowerEditor/src/NppIO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/NppIO.cpp b/PowerEditor/src/NppIO.cpp index 7175c2aa5..5f5162502 100644 --- a/PowerEditor/src/NppIO.cpp +++ b/PowerEditor/src/NppIO.cpp @@ -54,7 +54,7 @@ DWORD WINAPI Notepad_plus::monitorFileOnChange(void * params) ::PathRemoveFileSpecW(folderToMonitor); - const DWORD dwNotificationFlags = FILE_NOTIFY_CHANGE_LAST_WRITE | FILE_NOTIFY_CHANGE_FILE_NAME; + const DWORD dwNotificationFlags = FILE_NOTIFY_CHANGE_LAST_WRITE | FILE_NOTIFY_CHANGE_FILE_NAME | FILE_NOTIFY_CHANGE_SIZE; // Create the monitor and add directory to watch. CReadDirectoryChanges changes;