parent
5719420c3b
commit
182063f31b
@ -54,7 +54,7 @@ DWORD WINAPI Notepad_plus::monitorFileOnChange(void * params)
|
|||||||
|
|
||||||
::PathRemoveFileSpecW(folderToMonitor);
|
::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.
|
// Create the monitor and add directory to watch.
|
||||||
CReadDirectoryChanges changes;
|
CReadDirectoryChanges changes;
|
||||||
|
Loading…
Reference in New Issue
Block a user