Add note about directory path settings

Close #11
This commit is contained in:
Max Claus Nunes 2019-01-19 17:39:53 -02:00
parent 69ab70821a
commit 2cdb29eb89
1 changed files with 8 additions and 0 deletions

View File

@ -62,6 +62,14 @@ GLOBAL OPTIONS:
--version, -v print the version
```
### Watch and Ignore paths
For those options gaper supports static paths (e.g. `build/`, `seed.go`) or glob paths (e.g. `migrations/**/up.go`, `*_test.go`).
On using a path to a directory please add a `/` at the end (e.g. `build/`) to make sure gaper won't include other matches that starts with that same value (e.g. `build/`, `build_settings.go`).
### Default ignore settings
Since in most projects there is no need to watch changes of:
* hidden files and folders