Last active
January 9, 2017 20:59
-
-
Save mattes/1879fc5b157036300c878490963b22fb to your computer and use it in GitHub Desktop.
inotifywait
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# apt-get install inotify-tools | |
# watch 'go test .' | |
watch() { while inotifywait --exclude .git -r -qq .; sleep 1; do $@; done } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment