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
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,21 +101,21 @@ The CLI adds `process.env.INIT_CWD` which is the original cwd it was launched fr
101
101
102
102
Configuration is supported through the use of a `.gulp.*` file (e.g. `.gulp.json`, `.gulp.yml`). You can find a list of supported languages at https://github.com/gulpjs/interpret.
103
103
104
-
Configuration from the home directory (`~`) and current working directory (`cwd`) are merged with `cwd` taking precedence.
104
+
A configuration file from the current working directory (`cwd`) or above are selected before a configuration file from the home directory (`~`).
105
105
106
106
Supported configurations properties:
107
107
108
108
| Property | Description |
109
109
|--------------------|-------------|
110
110
| description | Top-level description of the project/gulpfile (Replaces "Tasks for ~/path/of/gulpfile.js") |
111
+
| gulpfile | Set a default gulpfile |
112
+
| preload | An array of modules to preload before running the gulpfile. Any relative paths will be resolved against the `--cwd` directory (if you don't want that behavior, use absolute paths) |
113
+
| nodeFlags | An array of flags used to forcibly respawn the process upon startup. For example, if you always want your gulpfiles to run in node's harmony mode, you can set `--harmony` here |
111
114
| flags.continue | Continue execution of tasks upon failure by default. |
112
115
| flags.compactTasks | Reduce the output of task dependency tree by default. |
113
116
| flags.tasksDepth | Set default depth of task dependency tree. |
114
-
| flags.gulpfile | Set a default gulpfile |
115
117
| flags.silent | Silence logging by default |
116
118
| flags.series | Run tasks given on the CLI in series (the default is parallel) |
117
-
| flags.preload | An array of modules to preload before running the gulpfile. Any relative paths will be resolved against the `--cwd` directory (if you don't want that behavior, use absolute paths) |
118
-
| flags.nodeFlags | An array of flags used to forcibly respawn the process upon startup. For example, if you always want your gulpfiles to run in node's harmony mode, you can set `--harmony` here |
0 commit comments