Skip to content
forked from codegangsta/gin

Live reload utility for Go program

License

Notifications You must be signed in to change notification settings

acoshift/goreload

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goreload

goreload forks from codegangsta/gin and remove unused features.

Just run goreload in your app directory. goreload will automatically recompile your code when it detects a change.

Installation

go install github.com/acoshift/goreload@master

macOS

Optional Use fswatch

brew install fswatch

Basic usage

goreload main.go

Options

   --bin value, -b value         name of generated binary file (default: ".goreload")
   --path value, -t value        Path to watch files from (default: ".")
   --build value, -d value       Path to build files from (defaults to same value as --path)
   --excludeDir value, -x value  Relative directories to exclude
   --all                         reloads whenever any file changes, as opposed to reloading only on .go file change
   --buildArgs value             Additional go build arguments
   --logPrefix value             Setup custom log prefix
   --help, -h                    show help
   --version, -v                 print the version

About

Live reload utility for Go program

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%