You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-10Lines changed: 3 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -57,11 +57,7 @@ If more than one task is listed, Gulp will execute all of them
57
57
concurrently, that is, as if they had all been listed as dependencies of
58
58
a single task.
59
59
60
-
Gulp does not serialize tasks listed on the command line. From using
61
-
other comparable tools users may expect to execute something like
62
-
`gulp clean build`, with tasks named `clean` and `build`. This will not
63
-
produce the intended result, as the two tasks will be executed
64
-
concurrently.
60
+
By default, Gulp does not serialize tasks listed on the command line. If you would like to execute tasks serially, you must specify the `--series` flag. e.g. `gulp clean build --series`
65
61
66
62
Just running `gulp` will execute the task `default`. If there is no
67
63
`default` task, gulp will error.
@@ -225,11 +221,8 @@ __Some flags only work with gulp 4 and will be ignored when invoked against gulp
Copy file name to clipboardExpand all lines: docs/CLI.md
+5-6Lines changed: 5 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,7 @@ If more than one task is listed, Gulp will execute all of them
9
9
concurrently, that is, as if they had all been listed as dependencies of
10
10
a single task.
11
11
12
-
Gulp does not serialize tasks listed on the command line. From using
13
-
other comparable tools users may expect to execute something like
14
-
`gulp clean build`, with tasks named `clean` and `build`. This will not
15
-
produce the intended result, as the two tasks will be executed
16
-
concurrently.
12
+
By default, Gulp does not serialize tasks listed on the command line. If you would like to execute tasks serially, you must specify the `--series` flag. e.g. `gulp clean build --series`
17
13
18
14
Just running `gulp` will execute the task `default`. If there is no
19
15
`default` task, gulp will error.
@@ -41,7 +37,7 @@ gulp has very few flags to know about. All other flags are for tasks to use if n
41
37
**--require**[path]
42
38
Will require a module before running the gulpfile. This is useful for transpilers but also has other applications.
43
39
44
-
**--gulpfile**[path]
40
+
**--gulpfile**[path], **-f**[path]
45
41
Manually set path of gulpfile. Useful if you have multiple gulpfiles. This will set the CWD to the gulpfile directory as well.
46
42
47
43
**--cwd**[path]
@@ -80,5 +76,8 @@ gulp has very few flags to know about. All other flags are for tasks to use if n
80
76
**--continue**
81
77
Continue execution of tasks upon failure.
82
78
79
+
**--series**
80
+
Run tasks given on the CLI in series (the default is parallel).
81
+
83
82
**--log-level**, **-L**
84
83
Set the loglevel. -L for least verbose and -LLLL for most verbose. -LLL is default.
0 commit comments