watcher

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DispatchHotReloadHooksFn func(path string)

DispatchHotReloadHooksFn is called after a file is hot-reloaded. Set this from the main package if hot-reload hooks are used.

Functions

This section is empty.

Types

type FileWatcher

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

type WatchEntry

type WatchEntry struct {
	ID       string
	Path     string
	Pattern  string // glob pattern
	Handler  object.Object
	Env      *object.Environment
	Debounce time.Duration
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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