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
You can find a list of supported languages at https://github.com/js-cli/js-interpret. If you would like to add support for a new language, send pull requests/open issues on that project.
94
+
You can find a list of supported languages at https://github.com/gulpjs/interpret. If you would like to add support for a new language, send pull requests/open issues on that project.
95
95
96
96
## Environment
97
97
98
-
The CLI adds process.env.INIT_CWD which is the original cwd it was launched from.
98
+
The CLI adds `process.env.INIT_CWD` which is the original cwd it was launched from.
99
99
100
100
## Configuration
101
101
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/js-cli/js-interpret.
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
104
Configuration from the home directory (`~`) and current working directory (`cwd`) are merged with `cwd` taking precedence.
| flags.series | Run tasks given on the CLI in series (the default is parallel) |
117
-
| flags.require| An array of modules to require before running the gulpfile. Any relative paths will be resolved against the `--cwd` directory (if you don't want that behavior, use absolute paths) |
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
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 |
119
119
120
120
## Flags
@@ -143,9 +143,9 @@ __Some flags only work with gulp 4 and will be ignored when invoked against gulp
143
143
<td>Print the global and local gulp versions.</td>
144
144
</tr>
145
145
<tr>
146
-
<td>--require [path]</td>
146
+
<td>--preload [path]</td>
147
147
<td></td>
148
-
<td>Will require a module before running the gulpfile. This is useful for transpilers but also has other applications.</td>
148
+
<td>Will preload a module before running the gulpfile. This is useful for transpilers but also has other applications.</td>
149
149
</tr>
150
150
<tr>
151
151
<td>--gulpfile [path]</td>
@@ -155,7 +155,7 @@ __Some flags only work with gulp 4 and will be ignored when invoked against gulp
155
155
<tr>
156
156
<td>--cwd [path]</td>
157
157
<td></td>
158
-
<td>Manually set the CWD. The search for the gulpfile, as well as the relativity of all requires (including the `--require` flag) will be from here.</td>
158
+
<td>Manually set the CWD. The search for the gulpfile, as well as the relativity of all preloads (with the `--preload` flag) will be from here.</td>
159
159
</tr>
160
160
<tr>
161
161
<td>--verify [path (optional)]</td>
@@ -229,18 +229,15 @@ __Some flags only work with gulp 4 and will be ignored when invoked against gulp
0 commit comments