Эх сурвалжийг харах

Tiltfile: document the right sync mode for incremental sync to work

Leo 5 жил өмнө
parent
commit
c8dae177e6
2 өөрчлөгдсөн 4 нэмэгдсэн , 4 устгасан
  1. 1 1
      DEVELOP.md
  2. 3 3
      Tiltfile

+ 1 - 1
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`.

+ 3 - 3
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"),
     ],
 )