rebuilds and runs a command on file changes in the current working directory.
go install github.com/pietjan/dev-server@latest
dev-server --build.cmd "make build" --build.bin "/tmp/bin/my-program"
full example
dev-server \
--build.cmd "make build" \
--build.bin "/tmp/bin/my-program" \
--watcher.exclude "\/\.(\w+)$" \
--watcher.exclude "^bin/" \
--watcher.interval 400ms \
--proxy.port 42069 \
--proxy.target 8080 \
--wait.for localhost:5432 \
--wait.for localhost:3306 \
--debug