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.32.4
- Published
- Jan 11, 2018
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 1 minute ago –
Tools for package owners.