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
Name of the remote in .trussrc to patch changes to.
Automatically open remote logs tab.
Arguments
A Truss directory. Defaults to current directory.
Example:
To watch for changes in the current directory, use the following:
To watch a specific Truss directory, use the following:
truss watch /path/to/my-truss
To watch and automatically open logs, use the following: