Skip to content

Live reloading development server for golang webservers

Notifications You must be signed in to change notification settings

Pietjan/dev-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Aug 31, 2024
3c1bd9c · Aug 31, 2024

History

8 Commits
Aug 31, 2024
Aug 31, 2024
Aug 31, 2024
Aug 31, 2024
Aug 31, 2024
Aug 31, 2024

Repository files navigation

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

About

Live reloading development server for golang webservers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published