Patch the model server with local changes
truss push
every time you update your Truss during development. Instead, you can have a live reload workflow where local changes automatically are pushed to the production environment to give you a lightning-fast feedback loop.
truss watch
command in a new terminal tab in the same working directory, as you’ll need to leave it running while you work.my-first-truss
working directory, run:
truss watch
while workingtruss watch
tab and model logs on Baseten after each step to see the changes you make locally reflected live on your model server.
Leave truss watch
running in this new terminal tab for the rest of the tutorial. You can use Control-C
to exit truss watch
and stop automatically pushing changes.