fswatch
1 min read
tools
Written in 2019. Tools, APIs and prices may have changed since.
Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/fswatch-playground.
- learn fswatch file change monitor
- github @ emcrisostomo/fswatch
Example Script
see watch.sh
Example Usage
# get file path information for changed files
fswatch -0 .
# print file path information for each changed file on separate line
fswatch -0 . | xargs -0 -n 1 -I {} echo {}