Skip to content

Commit 10c49aa

Browse files
branchseerclaude
andcommitted
docs: add intro context and task name display note
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3767efa commit 10c49aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/stdio.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Task Standard I/O
22

3-
How stdin, stdout, and stderr are connected to task processes, controlled by the `--log` flag.
3+
How stdin, stdout, and stderr are connected to task processes, controlled by the `--log` flag. Largely inspired by [npm-run-all2](https://github.com/bcomnes/npm-run-all2)'s stdio handling, with differences explained in the [appendix](#appendix-npm-run-all2-behavior).
44

55
## The `--log` Flag
66

@@ -16,6 +16,8 @@ vp run build --log=<mode>
1616

1717
### Examples
1818

19+
In `interleaved` mode, task names are omitted from the command line to keep output clean. In `labeled` and `grouped` modes, the `[pkg#task]` prefix is necessary to identify which task produced each line.
20+
1921
#### `interleaved`
2022

2123
Output goes to the terminal as soon as it's produced. When running multiple tasks in parallel, lines from different tasks may intermix:

0 commit comments

Comments
 (0)