From 89b94e901e6f559519ae7021ebaf57570ab93424 Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Sun, 27 Oct 2019 12:05:52 +0100 Subject: [PATCH] feat: default throttle --- src/bin/child-mono-run.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/child-mono-run.js b/src/bin/child-mono-run.js index 1f5a6f7..e06524f 100755 --- a/src/bin/child-mono-run.js +++ b/src/bin/child-mono-run.js @@ -12,7 +12,7 @@ cli.option('--patterns ', 'Folder glob patterns (by default will take cli.option('--concurrency ', 'Limit the number of active parallel tasks. `auto` = number of cpu cores. By default there is no limit.') -cli.option('--stream [throttle]', 'Stream output directly instead of waiting for the end. You can also throttle (ms) the output when streaming is enabled.', { +cli.option('--stream [throttle]', 'Stream output directly instead of waiting for the end. You can also throttle (ms) the output when streaming is enabled (default 200ms).', { default: false, }) @@ -29,6 +29,8 @@ cli.command('