From 2cdb29eb892840f897dd1263c73d6360f9bd9ff4 Mon Sep 17 00:00:00 2001 From: Max Claus Nunes Date: Sat, 19 Jan 2019 17:39:53 -0200 Subject: [PATCH] Add note about directory path settings Close #11 --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index e306b76..e6fa315 100644 --- a/README.md +++ b/README.md @@ -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