A tool that watches a file or directory and prints a message every time it’s modified. Using the notify crate to set up real-time filesystem monitoring, which is great for auto-reloaders, compilers, or backup triggers.
Added these features:
Create a file in root directory named some_file.txt
Run the CLI:
cargo run -- ./some_file.txt
👁️ Watching for changes in: ./some_file.txt
📝 File modified: ["some_file.txt"]