Watch .go and .mod files, run go build
or go test
command if these files changed.
import "github.com/gopsql/logger"
import "github.com/gopsql/watch"
logger := logger.StandardLogger
logger.Fatal(watch.NewWatch().WithLogger(logger).Do())
If you want a command line program, see https://github.com/gopsql/gow.