Skip to content

Instantly share code, notes, and snippets.

@tmc
Last active December 27, 2015 17:18
Show Gist options
  • Save tmc/7360790 to your computer and use it in GitHub Desktop.
Save tmc/7360790 to your computer and use it in GitHub Desktop.
$ go get github.com/tmc/watcher
$ watcher sh reload.sh
killall binaryname
go build && ./binaryname &
sleep 1
osascript -e 'tell application "Google Chrome Canary" to reload active tab of window 0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment