Skip to main content
truss watch [OPTIONS] [TARGET_DIRECTORY]
Watches for source code changes and applies live patches to a development deployment. This enables rapid iteration without redeploying.

Options

--remote
TEXT
Name of the remote in .trussrc to patch changes to.
--team
TEXT
Name of the team to deploy to. If not specified, Truss infers the team or prompts for selection.
The --team flag is only available if your organization has teams enabled. Contact us to enable teams, or see Teams for more information.
--logs
Automatically open remote logs tab.

Arguments

TARGET_DIRECTORY
TEXT
A Truss directory. Defaults to current directory.
Example: To watch for changes in the current directory, use the following:
truss watch
To watch a specific Truss directory, use the following:
truss watch /path/to/my-truss
To watch and automatically open logs, use the following:
truss watch --logs