code: def watch(ctx, args):
      """Watch run output.
  
      By default, the command will watch output from the current running
      operation.
  
      {{ runs_support.run_arg }}
  
      {{ runs_support.common_filters }}
  
      ### Watch Remote Runs
  
      Use `--remote` to watch a remote run.
  
      {{ remote_support.remote_option }}
  
      ### Watch Run by PID
  
      You may alternatively specify the process ID of the run to watch,
      using `--pid`. ``PID`` may be a process ID or a path to a file
      containing a process ID.
  
      PID may not be specified with other options.
  
      """
      from . import watch_impl
  
      watch_impl.main(args, ctx)
  
imports: import click
  from guild import click_util
  from .None import remote_support
  from .None import runs_support
label_desc: Use image node_id 1 for calling a global function with example usage: watch(ctx, args) without return types