fswatch -o ~/path/to/watch | xargs -n1 ~/script/to/run/when/files/change.sh # your_comment_here Watch for changes in '~/path/to/watch` and apply file as arg to specified xargs script.
fswatch -o ~/path/to/watch | xargs -n1 ~/script/to/run/when/files/change.sh # your_comment_here Watch for changes in '~/path/to/watch` and apply file as arg to specified xargs script.