package watcher
import "github.com/gohugoio/hugo/watcher"
Index ¶
Types ¶
type Batcher ¶
type Batcher struct { *fsnotify.Watcher Events chan []fsnotify.Event // Events are returned on this channel // contains filtered or unexported fields }
Batcher batches file watch events in a given interval.
func New ¶
New creates and starts a Batcher with the given time interval.
func (*Batcher) Close ¶
func (b *Batcher) Close()
Close stops the watching of the files.
Source Files ¶
- Version
- v0.77.0
- Published
- Oct 30, 2020
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 5 minutes ago –
Tools for package owners.