GoWatch

GoTamer gowatch is a fork of bitbucket.org/jzs/buildwatch with some enhancements.

  • gowatch -test will run go test on the folder
  • gowatch -build will run go build on the folder
  • gowatch -run [program_name] will run go build and then it will execute [program_name]

If a file changes while running lets say gowatch -run [program_name] it will kill [program_name], run gowatch -build on the folder, and then restart [program_name]