Execute [user-specified] command when update(s) detected in file system.
Name stands for "file system events" and "execute".
fsex [options] -f <file|directory> [-f ...] command [args ...]
E.g.
fsex -f . cmake --build ./build
or
fsex -f . bash -c 'cmake -S. -B./build && cmake --build ./build'
Triggering command upon changes in file system is a pretty practical task. Example would be starting report generation when data uploaded to server.
Admitting superiority of listed competitors, we still make an effort to deliver similar solution in Golang.
Following improvements are planned:
- Configurable time to trigger command after
- Nicer output