watcher

package
v0.0.0-...-114cd3e Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

type Watcher struct {
	// contains filtered or unexported fields
}

Watcher struct. b : Builder. r : Runner. dir : Directory to be watching. buildOnly: Build only mode.

func New

func New(appPath, appName string, buildOnly bool, cc, bc, rc []string) *Watcher

New create and return new watcher object.

func (*Watcher) Watch

func (w *Watcher) Watch() error

Watch monitors the given path for changes. An initial build and run were performed before watching begins. Return error if any.

Jump to

Keyboard shortcuts

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