https://stackoverflow.com/questions/1515730/is-there-a-command-like-watch-or-inotifywait-on-the-mac brew install fswatch fswatch -o "$PWD"/*.gv | while read _ ; do dot -Tpng foo.gv -o foo.png && qlmanage -p foo.png ; done