Skip to content

Instantly share code, notes, and snippets.

@oz
Created September 2, 2016 08:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oz/ba584d133931beb18a4edfc03ea191e0 to your computer and use it in GitHub Desktop.
Save oz/ba584d133931beb18a4edfc03ea191e0 to your computer and use it in GitHub Desktop.
onchange () {
while inotifywait --exclude .swp -e modify -r .
do
$@
done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment