2016-03-24 fswatchによるファイル変更検知 fswatchをインストール $ brew install fswatch 使い方 $ fswatch {監視したいディレクトリやファイル} | xargs -I{} {実行したいコマンド} latexのコンパイルとかに便利. $ fswatch manuscript.tex | xargs -I{} pdflatex manuscript