v0.1.1 helpers update to public, docs and comments update
This commit is contained in:
2
watch.go
2
watch.go
@ -137,7 +137,7 @@ func (c *Config) Watch() <-chan string {
|
||||
}
|
||||
|
||||
// WatchFile stops any existing file watcher, loads a new configuration file,
|
||||
// and starts a new watcher on that file path. Optionally accepts format hint.
|
||||
// and starts a new watcher on that file path. Optionally accepts format hint
|
||||
func (c *Config) WatchFile(filePath string, formatHint ...string) error {
|
||||
// Stop any currently running watcher
|
||||
c.StopAutoUpdate()
|
||||
|
||||
Reference in New Issue
Block a user