Watch a directory for file changes and automatically apply workloads.
When files in the watched directory are created, modified, or deleted,
the command debounces changes (~500ms) then runs the equivalent of
'ksail workload apply -k <path>' to reconcile the cluster.
Each reconcile prints a timestamped status line showing the changed file
and the outcome (success or failure). Press Ctrl+C to stop the watcher.
# Watch the default k8s/ directory
# Watch a custom directory
ksail workload watch --path=./manifests
ksail workload watch [flags]
--path string Directory to watch for changes (default: k8s/ or spec.workload.sourceDirectory from ksail.yaml)
--benchmark Show per-activity benchmark output