Skip to content

longtime1116/gohr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gohr

gohr is a command line tool for hot-reloading(live-reloading) Go CLI application. Just run gohr in the terminal, the program is compiled every time the files are updated, and also executed.

gohr means "go hot-reloading".

Installation

go get github.com/longtime1116/gohr

Then test the installation.

gohr -h
Usage: gohr [OPTIONS] [<output binary name>]
When you ommit output binary name, the basename of current directory is used.
  -b    alias of --build-only
  -build-only
        Just only build and not execute command.

Usage

gohr <output binary name>

For example,

gohr main

If you ommit output binary name, the basename of current directory is used.

Also you can add --build-only or -b option. With this option, gohr just build the program and don't execute it.

gohr --build-only main

Demo

gohr demo

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages