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

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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