Periodic command execution at specific intervals (i.e. watch).
# view help and usage options
kouhai -hUse it on the CLI
# invoke every 2s and stop on first failure
kouhai -s -i 2s "make test"Use it within a makefile
# define watch task to invoke make test via kouhai
.PHONY: watch
watch:
@kouhai -s --interval 2s "make test"
.PHONY: test
test:
@go test ./...Released under the MIT License. See LICENSE.md for details.