fswatch

package
v0.0.0-...-5984036 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2021 License: MIT Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL