Continuously go-installs all packages in GOPATH.
- Uses filesystem-monitoring (via howeyc/fsnotify)
- Parses package imports and recursively kicks off builds whenever dependencies are updated
You must already have Go installed and have GOPATH set in your environment. Then just run:
$ go get -u github.com/tillberg/autoinstall
$ $GOPATH/bin/autoinstall
Use --help
to see additional options.
autoinstall
expects to find a single package per directory.- My github.com/tillberg/watcher utility handles folder creation and deletion all right, but it doesn't currently always handle deleting and re-creating a directory (with the same name as before) correctly.
I use this in conjunction with autorestart's RestartOnChange
, which watches
the executable file for changes and restarts the process if it ever does.
ISC License