GoWatch

Date: Wed, Jan 28, 2015

It watches your dev folder for modified files, and if a file changes it restarts the process


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]

Links