Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner executes commands when an included file is modified
func NewRunner ¶
func NewRunner( excludes *files.ExcludeList, eventOp fsnotify.Op, command []string, ) (*Runner, func())
NewRunner creates a new Runner
func (*Runner) HandleEvent ¶
HandleEvent checks runs the command if the event was a Write event
type WatchOptions ¶
WatchOptions passed to watch
Click to show internal directories.
Click to hide internal directories.