Created
April 14, 2015 20:12
-
-
Save warmans/0655f3449ababf22e4c0 to your computer and use it in GitHub Desktop.
gofmt on change
This file contains hidden or 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
while true; do inotifywait -qr --format '%w' *.go | while read FILE; do echo $FILE; gofmt -w $FILE; done; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment