Documentation ¶
Overview ¶
Package watch provides a filesystem watcher that is used to rebuild affected targets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Watch ¶
func Watch(state *core.BuildState, labels core.BuildLabels, watchedProcessName string, runWatchedBuild func(watchedProcessName string))
Watch starts watching the sources of the given labels for changes and triggers rebuilds whenever they change. It never returns successfully, it will either watch forever or die.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.