Repo to keep track of my learning journey of golang
One of the use case
-
Can use its
watch
command for hot reloading of a go server so you dont have to dogo run main.go
everytime you save a file. -
Use it with
task <task_name> --watch
-
Mention files to watch under
sources
-
Mention which method to use for checking if the file has changes or not. Default is checksum which compares hash of your files under
sources
to check if they have been changed. You can also specify timestamp, then check will be performed using the timestamp of the file modified. -
More here
-
Or just use air