gomon

Monitor for any changes in your go package and automatically restart commands (run, build, server or anything)

Github星跟蹤圖

gomon

Build Status

go source file monitor, which restarts/rebuilds your go package automatically
while you are changing it.

Install

go get -u github.com/c9s/gomon

Usage

gomon [dir] -- [cmd]

gomon     # watch current directory and build the package (the default behavior)

Monitoring Current Directory And Format Automatically:

gomon -f

Monitoring Current Directory And Build Automatically:

gomon -b

Monitoring Current Directory And Test Automatically:

gomon -t

Monitoring Current Directory And Install Automatically:

gomon -i

You can run commands sequentialy by specifying multiple options above.
Monitoring Current Directory And Format, Build, Test and Install Automatically:

gomon -f -b -t -i

Monitoring Directory And Build Automatically:

gomon -b path/to/package

Monitoring Directory And Build Automatically With Verbose Messages:

gomon -b -x path/to/package

Monitoring With Custom Command:

gomon src -- go run -x server.go # execute go run -x server.go
gomon src -- go build -x package # execute go build -x package

Screenshot

Todo

  • Add configration file support.
  • Command queue support.

GoTray http://gotray.extremedev.org/

Contributors

  • Ask Bjørn Hansen
  • Yasuhiro Matsumoto (a.k.a mattn)

License

MIT License

Bitdeli Badge

Bitdeli Badge

主要指標

概覽
名稱與所有者c9s/gomon
主編程語言Go
編程語言Go (語言數: 2)
平台
許可證MIT License
所有者活动
創建於2013-05-06 01:06:03
推送於2022-04-16 03:03:30
最后一次提交2020-03-04 11:49:01
發布數3
最新版本名稱v1.3.0 (發布於 )
第一版名稱1.0.0 (發布於 2013-05-09 13:27:52)
用户参与
星數216
關注者數10
派生數16
提交數154
已啟用問題?
問題數11
打開的問題數7
拉請求數12
打開的拉請求數2
關閉的拉請求數1
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?