GoTamer gowatch is a fork of bitbucket.org/jzs/buildwatch with some enhancements
It watches your dev folder for modified files, and if a file changes it restarts
gowatch -testwill run
go teston the folder
gowatch -buildwill run
go buildon the folder
gowatch -run [program_name]will run
go buildand 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]
[program_name] must be the executable file generated by either
- 'go build' or
- 'gowatch -build'
Not the '.go' source file!!!
The executable / [program_name] gets deleted and rebuild!!!