github.com/tilt-dev/tilt@v0.33.15-0.20240515162809-0a22ed45d8a0/internal/cli/updog-examples/hello-world.yaml (about)

     1  # Prints 'hello world' every time the Tiltfile changes
     2  apiVersion: tilt.dev/v1alpha1
     3  kind: Cmd
     4  metadata:
     5    name: hello-world
     6  spec:
     7    args: ["echo", "hello world"]
     8    restartOn:
     9      fileWatches:
    10        - tiltfile
    11  ---
    12  apiVersion: tilt.dev/v1alpha1
    13  kind: FileWatch
    14  metadata:
    15    name: tiltfile
    16  spec:
    17    watchedPaths:
    18      - Tiltfile
    19