From 2acbb811b1751233833f9ea89f7e76774262a706 Mon Sep 17 00:00:00 2001 From: DexesTTP Date: Mon, 8 Feb 2021 20:40:58 +0100 Subject: LibCore: Added FileWatcher, a binding for the watch_file syscall This wrapper abstracts the watch_file setup and file handling, and allows using the watch_file events as part of the event loop via the Core::Notifier class. Also renames the existing DirectoryWatcher class to BlockingFileWatcher, and adds support for the Modified mode in this class. --- Meta/CMake/all_the_debug_macros.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'Meta/CMake') diff --git a/Meta/CMake/all_the_debug_macros.cmake b/Meta/CMake/all_the_debug_macros.cmake index 097ae7a555..d2fa65a8e2 100644 --- a/Meta/CMake/all_the_debug_macros.cmake +++ b/Meta/CMake/all_the_debug_macros.cmake @@ -165,6 +165,7 @@ set(CPP_DEBUG ON) set(DEBUG_SPAM ON) set(DEBUG_CPP_LANGUAGE_SERVER ON) set(DEBUG_AUTOCOMPLETE ON) +set(FILE_WATCHER_DEBUG ON) # False positive: DEBUG is a flag but it works differently. # set(DEBUG ON) -- cgit v1.2.3