Rerun on change#
Watch a directory#
Add
watchto the step. Each entry is a file or directory in the project directory:env: build: { uses: "builtin:exec" watch: ["src/"] with: up: command: ["make", "build"] }Start the environment:
kevin runSave a file under
src/. kevin logschange in src/main.go, rerunningfor the step and reruns it, along with the steps that depend on it.
Validate the paths#
Run kevin validate. It fails if a watched path does not exist, is absolute, or leaves the project directory. See the watch field.