@@ -145,9 +145,10 @@ concurrently [options] <command ...>
145145
146146General
147147 -m, --max-processes How many processes should run at once.
148- Exact number or a percent of CPUs available (for example "50%").
149148 New processes only spawn after all restart tries
150- of a process. [string]
149+ of a process.
150+ Exact number or a percent of CPUs available (for
151+ example "50%") [string]
151152 -n, --names List of custom names to be used in prefix
152153 template.
153154 Example names: "main,browser,server" [string]
@@ -202,7 +203,7 @@ Prefix styling
202203 in prefix. The option can be used to shorten the
203204 prefix when it is set to "command"
204205 [number] [default: 10]
205- -t, --timestamp-format Specify the timestamp in moment/date-fns format.
206+ -t, --timestamp-format Specify the timestamp in Unicode LDML format.
206207 [string] [default: "yyyy-MM-dd HH:mm:ss.SSS"]
207208
208209Input handling
@@ -219,8 +220,9 @@ Killing other processes
219220 -k, --kill-others Kill other processes if one exits or dies.[boolean]
220221 --kill-others-on-fail Kill other processes if one exits with non zero
221222 status code. [boolean]
222- --kill-signal Signal to send to other processes if one exits or dies.
223- (SIGTERM/SIGKILL, defaults to SIGTERM) [string]
223+ --kill-signal, --ks Signal to send to other processes if one exits or
224+ dies. (SIGTERM/SIGKILL, defaults to SIGTERM)
225+ [string]
224226
225227Restarting
226228 --restart-tries How many times a process that died should restart.
@@ -238,73 +240,73 @@ Examples:
238240
239241 - Output nothing more than stdout+stderr of child processes
240242
241- $ concurrently --raw "npm run watch-less" "npm run watch-js"
243+ $ concurrently.js --raw "npm run watch-less" "npm run watch-js"
242244
243245 - Normal output but without colors e.g. when logging to file
244246
245- $ concurrently --no-color "grunt watch" "http-server" > log
247+ $ concurrently.js --no-color "grunt watch" "http-server" > log
246248
247249 - Custom prefix
248250
249- $ concurrently --prefix "{time}-{pid}" "npm run watch" "http-server"
251+ $ concurrently.js --prefix "{time}-{pid}" "npm run watch" "http-server"
250252
251253 - Custom names and colored prefixes
252254
253- $ concurrently --names "HTTP,WATCH" -c "bgBlue.bold,bgMagenta.bold"
255+ $ concurrently.js --names "HTTP,WATCH" -c "bgBlue.bold,bgMagenta.bold"
254256 "http-server" "npm run watch"
255257
256258 - Auto varying colored prefixes
257259
258- $ concurrently -c "auto" "npm run watch" "http-server"
260+ $ concurrently.js -c "auto" "npm run watch" "http-server"
259261
260262 - Mixing auto and manual colored prefixes
261263
262- $ concurrently -c "red,auto" "npm run watch" "http-server" "echo hello"
264+ $ concurrently.js -c "red,auto" "npm run watch" "http-server" "echo hello"
263265
264266 - Configuring via environment variables with CONCURRENTLY_ prefix
265267
266- $ CONCURRENTLY_RAW=true CONCURRENTLY_KILL_OTHERS=true concurrently "echo
268+ $ CONCURRENTLY_RAW=true CONCURRENTLY_KILL_OTHERS=true concurrently.js "echo
267269 hello" "echo world"
268270
269271 - Send input to default
270272
271- $ concurrently --handle-input "nodemon" "npm run watch-js"
273+ $ concurrently.js --handle-input "nodemon" "npm run watch-js"
272274 rs # Sends rs command to nodemon process
273275
274276 - Send input to specific child identified by index
275277
276- $ concurrently --handle-input "npm run watch-js" nodemon
278+ $ concurrently.js --handle-input "npm run watch-js" nodemon
277279 1:rs
278280
279281 - Send input to specific child identified by name
280282
281- $ concurrently --handle-input -n js,srv "npm run watch-js" nodemon
283+ $ concurrently.js --handle-input -n js,srv "npm run watch-js" nodemon
282284 srv:rs
283285
284286 - Shortened NPM run commands
285287
286- $ concurrently npm:watch-node npm:watch-js npm:watch-css
288+ $ concurrently.js npm:watch-node npm:watch-js npm:watch-css
287289
288290 - Shortened NPM run command with wildcard (make sure to wrap it in quotes!)
289291
290- $ concurrently "npm:watch-*"
292+ $ concurrently.js "npm:watch-*"
291293
292294 - Exclude patterns so that between "lint:js" and "lint:fix:js", only "lint:js"
293295 is ran
294296
295- $ concurrently "npm:*(!fix)"
297+ $ concurrently.js "npm:*(!fix)"
296298
297299 - Passthrough some additional arguments via '{<number>}' placeholder
298300
299- $ concurrently -P "echo {1}" -- foo
301+ $ concurrently.js -P "echo {1}" -- foo
300302
301303 - Passthrough all additional arguments via '{@}' placeholder
302304
303- $ concurrently -P "npm:dev-* -- {@}" -- --watch --noEmit
305+ $ concurrently.js -P "npm:dev-* -- {@}" -- --watch --noEmit
304306
305307 - Passthrough all additional arguments combined via '{*}' placeholder
306308
307- $ concurrently -P "npm:dev-* -- {*}" -- --watch --noEmit
309+ $ concurrently.js -P "npm:dev-* -- {*}" -- --watch --noEmit
308310
309311For more details, visit https://github.com/open-cli-tools/concurrently
310312```
@@ -346,7 +348,7 @@ For more details, visit https://github.com/open-cli-tools/concurrently
346348 Anything else means all processes should exit successfully.
347349 - ` restartTries ` : how many attempts to restart a process that dies will be made. Default: ` 0 ` .
348350 - ` restartDelay ` : how many milliseconds to wait between process restarts. Default: ` 0 ` .
349- - ` timestampFormat ` : a [ date-fns format] ( https://date-fns. org/v2.0.1/docs/format )
351+ - ` timestampFormat ` : a [ Unicode LDML format] ( https://www.unicode. org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table )
350352 to use when prefixing with ` time ` . Default: ` yyyy-MM-dd HH:mm:ss.ZZZ `
351353 - ` additionalArguments ` : list of additional arguments passed that will get replaced in each command. If not defined, no argument replacing will happen.
352354
0 commit comments