Watch a folder and execute a script on any change
fswatch -o ../rant-dom | xargs -n1 ./build_site.sh
Install (macOS)
brew install fswatch
fswatch is a CLI tool for watching the filesystem for changes.
fswatch -o ../rant-dom | xargs -n1 ./build_site.sh
brew install fswatch