Skip to content
/ gomon Public

gomon is a tiny tool that runs a go program/project and watches for changes on it.

Notifications You must be signed in to change notification settings

h4ckitt/gomon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GOMON

gomon is a tiny tool that runs a go program and watch changes on it.

gomon was originally a fork of rld

Installation

Clone the git repository and build:

$ git clone https://github.com/h4ckitt/gomon
$ cd gomon
$ make release

Or install go binary:

$ cd gomon
$ go install github.com/h4ckitt/gomon@latest

Usage

Show help text:

$ gomon -h

gomon can watch for changes in file and directories

  • file:
$ gomon cmd/main.go
  • file with positional arguments:
$ gomon cmd/main.go --arg1 --arg2 1 2 3 4
  • project:
$ gomon path/to/project/dir

If gomon is called without arguments, it assumes the current directory is a project directory.

Operating Systems

  • Linux
  • MacOS
  • Windows

ToDo

Contributions are very much welcome, anyone can create a PR with a fix for any of the following issues:

  • Kill Previous Running Processes Before Starting A New One
  • Make Killing Of Previous Process Work In Windows
  • Let Users Specify Which Files To Ignore In Project Mode
  • Watch For Changes In Project Directory (File Creation/Deletion/Rename)
  • Fix Bugs That Stealthily Slipped From Me But Not You

Author

About

gomon is a tiny tool that runs a go program/project and watches for changes on it.

Resources

Stars

Watchers

Forks