watcher

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Opt

type Opt func(*Opts)

type Opts

type Opts struct {
	Paths []string
	Cwd   string
}

type Watcher

type Watcher interface {
	Reload(ctx context.Context) error
	Errors() <-chan error
	Events() <-chan fsnotify.Event
	Close()
	Stop()
}

func New

func New(task *task.Task, opts ...Opt) Watcher

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL