gomon

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2020 License: MIT Imports: 8 Imported by: 0

README

gomon

Kind of Nodemon for Go TCP based applications

Run

go run main.go [...options]

Options

  • --help to see the usage
  • --path path fo directory to watch (Note: path must end with trailing /)
  • --main main file to run using go run <file> inside the --path (Note: Default is app.go)
  • --port port which will be used by the process

Build

  • Clone this repo
  • cd into repo
  • go build .

Example

./gomon --path ~/projects/api/ --main main.go --port 3000

This currently only supports UNIX. Windows support will be added sooner

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL