Skip to content

Commit 75eaa83

Browse files
committed
FileSystemWatcher: Document file watcher limitations
See #26
1 parent af5c252 commit 75eaa83

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Libraries/FileSystemWatcher/FileSystemWatcher.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ namespace SC
2323
/// - Added, removed and renamed files and directories
2424
/// - Modified files
2525
///
26+
/// @warning Modifications to files that do not affect directory entries may not trigger notifications. @n
27+
/// This includes modifications made through symbolic or hard links located outside the watched directory,
28+
/// pointing to a file of the watched directory. @n
29+
/// Modifications made through memory-mapped file operations (mmap) can also exhibit the same behaviour. @n
30+
/// The underlying OS APIs monitor directory entries rather than all possible file access methods.
31+
///
2632
/// There are two modes in which FileSystemWatcher can be initialized, defining how notifications are delivered:
2733
///
2834
/// | Mode | Description |

0 commit comments

Comments
 (0)