MCPcopy Create free account
hub / github.com/NV404/gova / WatcherOptions

Struct WatcherOptions

internal/devserver/watcher.go:28–31  ·  view source on GitHub ↗

WatcherOptions configures NewWatcher.

Source from the content-addressed store, hash-verified

26
27// WatcherOptions configures NewWatcher.
28type WatcherOptions struct {
29 Root string // directory to watch (recursively)
30 Debounce time.Duration // coalesce events within this window; defaults to 200ms
31}
32
33// NewWatcher starts a watcher on opts.Root. Events is buffered size 1; callers
34// that lag will coalesce further (no missed reloads, just batched).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected