Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct { AppRoot string `yaml:"app_root"` BinaryName string `yaml:"binary_name"` BuildDelay time.Duration `yaml:"build_delay"` BuildFlags []string `yaml:"build_flags"` BuildPath string `yaml:"build_path"` BuildTargetPath string `yaml:"build_target_path"` CommandEnv []string `yaml:"command_env"` CommandFlags []string `yaml:"command_flags"` EnableColors bool `yaml:"enable_colors"` IgnoredFolders []string `yaml:"ignored_folders"` IncludedExtensions []string `yaml:"included_extensions"` LiveReload bool `yaml:"live_reload"` ReadynessURL string `yaml:"readyness_url"` LogName string `yaml:"log_name"` Debug bool `yaml:"-"` Path string `yaml:"-"` Stderr io.Writer `yaml:"-"` Stdin io.Reader `yaml:"-"` Stdout io.Writer `yaml:"-"` }
func (*Configuration) Dump ¶
func (c *Configuration) Dump(path string) error
func (*Configuration) FullBuildPath ¶
func (c *Configuration) FullBuildPath() string
func (*Configuration) Load ¶
func (c *Configuration) Load(path string) error
type Manager ¶
type Manager struct { *Configuration ID string Restart chan bool // contains filtered or unexported fields }
func NewWithContext ¶
func NewWithContext(c *Configuration, ctx context.Context) *Manager
type WatchEvent ¶ added in v1.13.0
Click to show internal directories.
Click to hide internal directories.