Just came back to #watchexec crate.
A #rust module to watch and react to kernel events 👀
- file changes
- key press
- ...
The documentation is still tricky and outdated because of the rapidly evolving project!
But there is an undeniable effort to simplify and get stuffs together to the point that the code, comments and test files are astonishingly understandable and copy-pastable!
Skim through the doc to grasp the project structure then just dive into the code.
https://github.com/watchexec/watchexec/tree/main/crates/lib