{"id":60858,"library":"e-dant-watcher","title":"watcher","description":"Filesystem watcher. Works anywhere. Simple, efficient and friendly.","status":"active","version":"0.14.5","language":"cpp","source_language":null,"source_url":null,"tags":["filesystem","watch","monitoring","cross-platform"],"install":[{"cmd":"vcpkg install e-dant-watcher","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(e_dant_watcher CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE watcher::watcher)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"watcher/watcher.hpp","correct":"#include <watcher/watcher.hpp>"}],"quickstart":{"code":"#include \"watcher/watcher.hpp\"\n#include <iostream>\nint main() {\n    watcher::Watcher w(\".\", [](const watcher::Event& e) {\n        std::cout << \"File changed: \" << e.path << std::endl;\n    });\n    w.watch();\n    return 0;\n}","lang":"cpp","description":"Watch a directory for file changes"},"warnings":[],"env_vars":null,"search_vec":"'anywher':5 'cross':14 'cross-platform':13 'effici':7 'filesystem':2,10 'friend':9 'monitor':12 'platform':15 'simpl':6 'watch':11 'watcher':1,3 'work':4","created_at":"2026-06-17T04:30:21.753086+00:00","updated_at":"2026-06-17T04:30:21.753086+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}