Skip to content

hmarui66/go-watch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

Install

go get github.com/hmarui66/go-watch

Start watch

cd [project root]
go-watch

Go build flags

You can use go build flags with -build-flags flag. These flags are set in the form of go build -o {binfile} [build flags].

For example, this command

go-watch -build-flags '-ldflags "-X configs.someValue=100 -X configs.anotherValue=300"'

will trigger the following build command.

go build -o {binfile} -ldflags "-X configs.someValue=100 -X configs.anotherValue=300"

Refs

https://github.com/pilu/fresh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages