Skip to content

Commit

Permalink
added live_update to tiltfile (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgusPk authored Jul 18, 2024
1 parent 19c8c77 commit 5a0e303
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/kubernetes-tilt-dev/Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
Expand Down

0 comments on commit 5a0e303

Please sign in to comment.