Watch scripts inside tap command

This commit is contained in:
M. Mert Yildiran
2023-03-07 20:21:28 +03:00
parent ca35177b44
commit cedb7bc8bc
3 changed files with 21 additions and 8 deletions

View File

@@ -10,8 +10,9 @@ import (
)
type ScriptingConfig struct {
Env map[string]interface{} `yaml:"env"`
Source string `yaml:"source" default:""`
Env map[string]interface{} `yaml:"env"`
Source string `yaml:"source" default:""`
WatchScripts bool `yaml:"watchScripts" default:"true"`
}
func (config *ScriptingConfig) GetScripts() (scripts []*misc.Script, err error) {