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.
--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