parent
7a7a07d9ad
commit
1fe0e49adb
|
|
@ -32,7 +32,8 @@ func SetupEntityFileWatchers(cfg *config.Config) {
|
||||||
configDir = configDirVar
|
configDir = configDirVar
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, ef := range cfg.Entities {
|
for entityIndex, _ := range cfg.Entities { // #337 - iterate by key, not by value
|
||||||
|
ef := cfg.Entities[entityIndex]
|
||||||
p := ef.File
|
p := ef.File
|
||||||
|
|
||||||
if !filepath.IsAbs(p) {
|
if !filepath.IsAbs(p) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue