Skip to content

Instantly share code, notes, and snippets.

@mrosset
Created August 1, 2012 19:18
Show Gist options
  • Save mrosset/3229903 to your computer and use it in GitHub Desktop.
Save mrosset/3229903 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
while inotifywait -e modify -r *.go; do
go build || true
done
@eadz
Copy link

eadz commented Jan 16, 2013

you have no idea how many hours I'm going to save after seeing this :)

for OSX users, use https://github.com/sschober/kqwait instead of inotifywait

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment