Watch Patterns

Domain: Tools & Toolsets

Motivation

A flag for background tasks. Hermes watches for specific strings in the output and notifies when they appear.

Concrete Example

terminal(command=server.py, background=true, watch_patterns=[Startup complete]). When server prints Startup complete, you are notified.

Analogy

A baby monitor - it alerts you when the baby cries. Watch patterns alert you when specific text appears in task output.