Skip to content
  • Kent R. Spillner's avatar
    watch: exit when command output changes. · 81f64657
    Kent R. Spillner authored
    Add new flags to watch (-g/--chgexit) so that it exits when the
    output changes.  This is useful in builds and shell scripts, for
    example when deploying webapps to block the remainder of the
    deployment steps until after the webapp starts.
    
    e.g. watch --chgexit curl http://foo/bar
    81f64657