Watcher is a file monitoring tool that is very efficient, even if scanning thousands of paths, the resources used by this library are almost negligible. Quick start writing: /* tiny-main.cpp */ #include #include “../sinclude/watcher/watcher.hpp” /* Point this to wherever yours is */ int main(int argc, char** argv) { using namespace water::watcher; return watch(argc > 1 ? argv[1] : “.”, [](const event::event& this_event) { std::cout << thi... |
#File #monitoring #tool #edantWatcher