fswatch

tools

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 {}