Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct { // IgnoreRegex is a regex of files to ignore. IgnoreRegex string // contains filtered or unexported fields }
Watcher watches a directory for changes and triggers a build when a change is detected.
func NewWatcher ¶
func NewWatcher(c middlewarev1.MiddlewareServiceClient, ignoreRegex string) *Watcher
NewWatcher creates a new Watcher.
Click to show internal directories.
Click to hide internal directories.