Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 548 Bytes

readme.md

File metadata and controls

28 lines (24 loc) · 548 Bytes

dev-server

rebuilds and runs a command on file changes in the current working directory.

Install

go install github.com/pietjan/dev-server@latest

Run

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