go-fswatcher

command module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2015 License: BSD-3-Clause Imports: 9 Imported by: 0

README

go-fswatcher

Watch a file or folder for changes and execute a custom command.

Usage

Watch a file for changes
go-fswatcher -path some-file.txt -command "some-command"
Watch a folder for changes
go-fswatcher -path some-folder -command "some-command"

If you want to watch for changes recursivly you can add the recurse option:

go-fswatcher -path some-folder -recurse -command "some-command"

Examples

Using go-fswatcher to autobuild your go applications

Build your go application everytime a file changes in your package directory.

go-fswatcher -path $GOPATH/src/github.com/andreaskoch/allmark -recurse -command "go install"

Build Status

Build Status

Dependencies

Contribute

If you have an idea how to make this little tool better please send me a message or a pull request.

All contributions are welcome.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps

Jump to

Keyboard shortcuts

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