# line watch


Stream new messages and events. In a terminal, prints one readable line per message; when piped, or with --json, writes one JSON object per line. Starts now on first use and resumes from the saved position on later runs. Never sends read receipts.

## Usage

```sh
line watch [options]
```

## Stream

| Option | Description |
| --- | --- |
| `--from-now` | discard the saved resume position and start at the current revision |
| `--limit N` | stop after N emitted events; 0 watches continuously |
| `--timeout DURATION` | stop after this duration, e.g. 30s; 0 watches continuously |

## Output

| Option | Description |
| --- | --- |
| `--json` | write newline-delimited JSON (default when stdout is not a terminal) (default true) |
| `--verbose` | in readable output, also show non-message events |

## Examples

```sh
line watch
line watch --json | your-program
line watch --limit 10 --timeout 5m
```


---
Source: https://kongesque.github.io/line-cli/reference/commands/watch/
