crosire / blink

A tool which allows you to edit source code of any MSVC C++ project live at runtime
BSD 2-Clause "Simplified" License
1.09k stars 81 forks source link

File watcher should watch subdirectories #5

Closed optimizedaway closed 5 years ago

optimizedaway commented 5 years ago

File watcher only scans for changes in the root directory, subdirectories should also be watched.

crosire commented 5 years ago

It does actually watch subdirectories: https://github.com/crosire/blink/blob/7a82c5017fcb8e2cb222261f85b7899983374980/source/file_watcher.cpp#L60 The bWatchSubtree parameter of ReadDirectoryChangesW is set to TRUE. It is working on my end.

optimizedaway commented 5 years ago

Yup, my fault, sorry