Commit graph

9 commits

Author SHA1 Message Date
Sönke Ludwig 86ee5c9477 Remove FileChange.isDirectory.
isDir can be a huge performance issue when watching a network based directory and can effectively block the thread almost completely in case of frequent file changes. This does mean than high-level code now needs to perform the check manually, if required, and the free information provided by inotify goes unused.
2020-05-11 19:30:40 +02:00
Sönke Ludwig 2a6488a101 Fix test to allow the directory watcher to start up. 2019-06-01 21:44:20 +02:00
Sönke Ludwig e154446a9d Enable directory watcher tests on macOS.
Also fixes some timings to work with the polling watcher implementation.
2017-11-23 23:11:16 +01:00
Sönke Ludwig a9ae496fb4 Avoid "." path in InotifyEventDriverWatchers.
The vibe-core tests broke because a "/./" path segment slipped into the resulting paths.
2017-11-22 17:07:49 +01:00
Sönke Ludwig b20dd9b398
Adjust all tests to rely on automatic event loop exiting. 2017-06-10 10:28:16 +02:00
Sönke Ludwig bd860d71d7 Fix syntax errors in tests. 2017-01-22 21:03:38 +01:00
Sönke Ludwig 8bf742d3cc Skip tests for missing features on macOS. 2017-01-22 20:54:56 +01:00
Sönke Ludwig bf519fd058 Fix test compile errors. 2016-10-19 22:00:06 +02:00
Sönke Ludwig e4e78a860a Implement inotify based directory watcher. 2016-10-17 21:42:09 +02:00