CommandAction
Defined in: ../cli/watcher.ts:202
A shell command, with what changed in its environment.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CommandAction(
command):CommandAction
Defined in: ../cli/watcher.ts:204
Parameters
Section titled “Parameters”command
Section titled “command”string
Returns
Section titled “Returns”CommandAction
Methods
Section titled “Methods”run(
changed,signal?):Promise<void>
Defined in: ../cli/watcher.ts:205
Parameters
Section titled “Parameters”changed
Section titled “changed”readonly Change[]
signal?
Section titled “signal?”AbortSignal
Returns
Section titled “Returns”Promise<void>