diff --git a/examples/kubernetes-tilt-dev/Tiltfile b/examples/kubernetes-tilt-dev/Tiltfile index c26e5e5..b838b0f 100644 --- a/examples/kubernetes-tilt-dev/Tiltfile +++ b/examples/kubernetes-tilt-dev/Tiltfile @@ -2,10 +2,15 @@ version_settings(constraint='>=0.22.2') k8s_yaml(['k8s/namespace.yml']) +sync_node_src = sync('apps/node-nestjs-app/src', 'app/') + docker_build( 'k8s-tilt-dev-example-node-nestjs-app', 'apps/node-nestjs-app/', target='development', + live_update=[ + sync_node_src, + ], ) k8s_yaml(['apps/node-nestjs-app/k8s/deployment.yml', 'apps/node-nestjs-app/k8s/service.yml'])