Skip to content

Instantly share code, notes, and snippets.

@mrosset
Created May 12, 2012 10:43
Show Gist options
  • Save mrosset/2665769 to your computer and use it in GitHub Desktop.
Save mrosset/2665769 to your computer and use it in GitHub Desktop.
#!/bin/bash
dir=$(basename $PWD)
while inotifywait -e modify ./; do
killall "${dir}.test" || true
go test&
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment