Last active
December 27, 2015 17:18
-
-
Save tmc/7360790 to your computer and use it in GitHub Desktop.
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
$ go get github.com/tmc/watcher | |
$ watcher sh reload.sh |
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
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