Skip to content

Commit afb5a30

Browse files
committed
fix for #56
1 parent df4fe37 commit afb5a30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

BERT/BERT_Version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#ifndef __BERT_VERSION_H
2222
#define __BERT_VERSION_H
2323

24-
#define BERT_VERSION L"1.56.0"
24+
#define BERT_VERSION L"1.57.0"
2525

2626
#endif // #ifndef __BERT_VERSION_H
2727

BERT/FileWatcher.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ DWORD WINAPI startWatchThread(void *parameter) {
182182
handles[index++] = pf->overlapped.hEvent;
183183

184184
// NOT watching subtree. see docs.
185-
ReadDirectoryChangesW(pf->fileHandle, pf->buffer, 1024, FALSE, FILE_NOTIFY_CHANGE_LAST_WRITE, &(pf->dwRead), &(pf->overlapped), NULL);
185+
ReadDirectoryChangesW(pf->fileHandle, pf->buffer, 1024, FALSE, FILE_NOTIFY_CHANGE_FILE_NAME | FILE_NOTIFY_CHANGE_LAST_WRITE, &(pf->dwRead), &(pf->overlapped), NULL);
186186
}
187187

188188
while (!err) {

0 commit comments

Comments
 (0)