From c8dae177e605b0c20c16808ccd6e53dc43ef7530 Mon Sep 17 00:00:00 2001 From: Leo Date: Sun, 16 Aug 2020 12:30:23 +0200 Subject: [PATCH] Tiltfile: document the right sync mode for incremental sync to work --- DEVELOP.md | 2 +- Tiltfile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DEVELOP.md b/DEVELOP.md index 30a3ac22a..97b1a62c0 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -16,7 +16,7 @@ it won't take more than a few minutes to set up! This should work on Linux, MacOS and possibly even Windows. -After installing all dependencies, just run `tilt up`. +After installing all dependencies, just run `tilt up --update-mode=exec`. Whenever you modify a file, the devnet is automatically rebuilt and a rolling update is done. Watch pod status in your cluster: `kubectl get pod -A -w`. diff --git a/Tiltfile b/Tiltfile index 99ddd5982..cf9ebad77 100644 --- a/Tiltfile +++ b/Tiltfile @@ -53,11 +53,11 @@ docker_build( # sync smart contract changes to running container for incremental development # (rebuilding the container is way too slow, thanks npm!) + # + # This relies on --update-mode=exec to work properly with a non-root user. + # https://github.com/tilt-dev/tilt/issues/3708 live_update = [ sync("./ethereum", "/home/node/app"), - - # https://github.com/tilt-dev/tilt/issues/3060 - # run("chown -R node:node /home/node/app"), ], )