fswatch -o path | xargs -n1 -I{} command
-o batches multitple simutaneous changes into one event -I{} ignores arguments.
-o
-I{}
brew install fswatch