Skip to content

Commit 2822c28

Browse files
docs: update outdated Node.js doc links and fix null code formatting (#590)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 42f3829 commit 2822c28

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ Check out documentation and other usage examples in the [`docs` directory](./doc
101101
- `defaultInputTarget`: the default input target when reading from `inputStream`.
102102
Default: `0`.
103103
- `handleInput`: when `true`, reads input from `process.stdin`.
104-
- `inputStream`: a [`Readable` stream](https://nodejs.org/dist/latest-v10.x/docs/api/stream.html#stream_readable_streams)
104+
- `inputStream`: a [`Readable` stream](https://nodejs.org/docs/latest/api/stream.html#readable-streams)
105105
to read the input from. Should only be used in the rare instance you would like to stream anything other than `process.stdin`. Overrides `handleInput`.
106106
- `pauseInputStreamOnFinish`: by default, pauses the input stream (`process.stdin` when `handleInput` is enabled, or `inputStream` if provided) when all of the processes have finished. If you need to read from the input stream after `concurrently` has finished, set this to `false`. ([#252](https://github.com/kimmobrunfeldt/concurrently/issues/252)).
107107
- `killOthersOn`: once the first command exits with one of these statuses, kill other commands.
108108
Can be an array containing the strings `success` (status code zero) and/or `failure` (non-zero exit status).
109109
- `maxProcesses`: how many processes should run at once.
110-
- `outputStream`: a [`Writable` stream](https://nodejs.org/dist/latest-v10.x/docs/api/stream.html#stream_writable_streams)
110+
- `outputStream`: a [`Writable` stream](https://nodejs.org/docs/latest/api/stream.html#writable-streams)
111111
to write logs to. Default: `process.stdout`.
112112
- `prefix`: the prefix type to use when logging processes output.
113113
Possible values: `index`, `pid`, `time`, `command`, `name`, `none`, or a template (eg `[{time} process: {pid}]`).
@@ -223,16 +223,16 @@ It contains the following properties:
223223
224224
## FAQ
225225
226-
- Process exited with code _null_?
226+
- Process exited with code `null`?
227227
228-
From [Node child_process documentation](http://nodejs.org/api/child_process.html#child_process_event_exit), `exit` event:
228+
From [Node child_process documentation](https://nodejs.org/docs/latest/api/child_process.html#event-exit), `exit` event:
229229
230230
> This event is emitted after the child process ends. If the process
231231
> terminated normally, code is the final exit code of the process,
232232
> otherwise null. If the process terminated due to receipt of a signal,
233233
> signal is the string name of the signal, otherwise null.
234234
235-
So _null_ means the process didn't terminate normally. This will make **concurrently**
235+
So `null` means the process didn't terminate normally. This will make **concurrently**
236236
to return non-zero exit code too.
237237
238238
- Does this work with the npm-replacements [yarn](https://yarnpkg.com/), [pnpm](https://pnpm.io/), or [Bun](https://bun.sh/)?

0 commit comments

Comments
 (0)