diff --git a/hack/build.sh b/hack/build.sh index e34b6c248..b75d08797 100755 --- a/hack/build.sh +++ b/hack/build.sh @@ -49,7 +49,10 @@ run() { if $(has_flag --watch -w); then # Build and test first go_build - go_test + + if $(has_flag --test -t); then + go_test + fi # Go in endless loop, to be stopped with CTRL-C watch