Skip to content

Instantly share code, notes, and snippets.

@jonfazzaro
Created July 13, 2022 14:31
Show Gist options
  • Save jonfazzaro/e62bc32696b1eea89ca69860737a616e to your computer and use it in GitHub Desktop.
Save jonfazzaro/e62bc32696b1eea89ca69860737a616e to your computer and use it in GitHub Desktop.
Do a thing when files change.
/usr/local/bin/fswatch -or -e ".git" -0 . | xargs -0 -n 1 -I {} /bin/zsh -c $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment