An open API service indexing awesome lists of open source software.

https://github.com/mattes/gg

Watch file changes and exec commands (YAML + GoLang)
https://github.com/mattes/gg

Last synced: 8 months ago
JSON representation

Watch file changes and exec commands (YAML + GoLang)

Awesome Lists containing this project

README

          

GG
==

Watch file changes and exec commands (YAML + GoLang)

### Installation
```
go get github.com/mattes/gg
```

### Usage

Create ``gg.yaml`` file in your working directory.

```yaml
watch:

- pattern: "*.txt"
commands:
hello: "echo hello world, txt"

- pattern: "*.go"
command:
hello: "echo hello world, go"
```

Run ``gg`` afterwards.