command
module
Version:
v0.0.0-...-7861a81
Opens a new window with list of versions in this module.
Published: Dec 20, 2016
License: BSD-3-Clause
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Goup
Watches and restarts go applications on source code changes.
go get github.com/DATA-DOG/goup
Main features:
- just run goup where your main package is.
- forwards stdin and all command line arguments.
- goup itself has no options.
- does not use go build but rather go install which increases
restart performance dramatically.
- can watch applications outside $GOPATH run it like
GOBIN=$GOPATH/bin goup -my-cmd-option args < stdin
or export
$GOBIN
- tracks all dependent non $GOROOT packages, including all in
$GOPATH, except in
vendor
directories.
- restarts only if go install was successful, so you do not have
failed state.
- is about 200 loc simple to copy and adapt to your custom needs.
Documentation
¶
goup watches application dependencies for changes and restarts
it whenever files change.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.