This example uses
inferred file sync
for static assets with the
ko
builder
for a Go web app.
To observe the behavior of file sync, run this command:
skaffold dev
Try changing the HTML file in the kodata
directory to see how Skaffold
syncs the file.
If change the the main.go
file, Skaffold will rebuild and redeploy the image.