Skip to content

Commit 62323fc

Browse files
Kyle Cordescontra
authored andcommitted
Docs: Clarify CLI semantics when listing more than one task (#1916)
1 parent 90340b9 commit 62323fc

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

docs/CLI.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,20 @@ Refer to this [StackOverflow](http://stackoverflow.com/questions/23023650/is-it-
2222

2323
### Tasks
2424

25-
Tasks can be executed by running `gulp <task> <othertask>`. Just running `gulp` will execute the task you registered called `default`. If there is no `default` task gulp will error.
25+
Tasks can be executed by running `gulp <task> <task>...`.
26+
27+
If more than one task is listed, Gulp will execute all of them
28+
concurrently, that is, as if they had all been listed as dependencies of
29+
a single task.
30+
31+
Gulp does not serialize tasks listed on the command line. From using
32+
other comparable tools users may expect to execute something like
33+
`gulp clean build`, with tasks named `clean` and `build`. This will not
34+
produce the intended result, as the two tasks will be executed
35+
concurrently.
36+
37+
Just running `gulp` will execute the task `default`. If there is no
38+
`default` task, gulp will error.
2639

2740
### Compilers
2841

0 commit comments

Comments
 (0)