Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RealWorkDir ¶ added in v1.7.1
On macOS, $PWD can have a different case that the actual current working directory. That happens for example if one does: `cd /home/me/MY-PROJECT` before running Skaffold, instead of `cd /home/me/my-project`. In such a situation, the file watcher will fail to detect changes. To solve that, we force `os.Getwd()` not to use $PWD. See: https://github.com/rjeczalik/notify/issues/96
Types ¶
type Trigger ¶
type Trigger interface { Start(context.Context) (<-chan bool, error) LogWatchToUser(io.Writer) Debounce() bool }
Trigger describes a mechanism that triggers the watch.
func NewTrigger ¶
func NewTrigger(runctx *runcontext.RunContext) (Trigger, error)
NewTrigger creates a new trigger.
Click to show internal directories.
Click to hide internal directories.