Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Watch ¶
func Watch(syncConfig dev.SyncConfig, relativeTo string) (chan struct{}, error)
Watch watches for changes in files tracked by `syncConfig`. It sends an event on the returned channel whenever a file within the watched paths changes. Relative paths are resolved relative to `relativeTo`. For example, if a service at `path/to/service` contains the relative path `./src`, we will watch `path/to/service/src`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.