Tiltfile: document the right sync mode for incremental sync to work
This commit is contained in:
parent
186129e5e4
commit
c8dae177e6
|
@ -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.
|
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.
|
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`.
|
Watch pod status in your cluster: `kubectl get pod -A -w`.
|
||||||
|
|
6
Tiltfile
6
Tiltfile
|
@ -53,11 +53,11 @@ docker_build(
|
||||||
|
|
||||||
# sync smart contract changes to running container for incremental development
|
# sync smart contract changes to running container for incremental development
|
||||||
# (rebuilding the container is way too slow, thanks npm!)
|
# (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 = [
|
live_update = [
|
||||||
sync("./ethereum", "/home/node/app"),
|
sync("./ethereum", "/home/node/app"),
|
||||||
|
|
||||||
# https://github.com/tilt-dev/tilt/issues/3060
|
|
||||||
# run("chown -R node:node /home/node/app"),
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue