diff options
author | Valery Piashchynski <[email protected]> | 2020-02-20 01:02:12 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-02-20 01:02:12 +0300 |
commit | 54fb0dc2baa8d874f0ff090b49c80361bb6a9557 (patch) | |
tree | eb3b00d4aca057206977426cc02abd4f1f35fd17 /service/reload/config.go | |
parent | 9cff24e4d515d684cefdf46624da90d22224aeaa (diff) |
Update wathcer implementation. Need to rethink structure and optimize
algorithms
Diffstat (limited to 'service/reload/config.go')
-rw-r--r-- | service/reload/config.go | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/service/reload/config.go b/service/reload/config.go index 338c6eba..fb704015 100644 --- a/service/reload/config.go +++ b/service/reload/config.go @@ -15,9 +15,11 @@ type Config struct { } type ServiceConfig struct { - // Watch is per-service specific files to watch - Watch []string - // Dirs is per-service specific dirs which will be combined with Watch + // Recursive is options to use nested files from root folder + Recursive bool + // Patterns is per-service specific files to watch + Patterns []string + // Dirs is per-service specific dirs which will be combined with Patterns Dirs []string // Ignore is set of files which would not be watched Ignore []string |