![]() Specify the depth of the task dependency tree to print. The argument is optional, and if given writes the JSON to the path. Print the task dependency tree, in JSON format, for the loaded gulpfile. Print a plaintext list of tasks for the loaded gulpfile. Print the task dependency tree for the loaded gulpfile. Will verify plugins referenced in project's package.json against the plugins blacklist. The search for the gulpfile, as well as the relativity of all requires (including the `-require` flag) will be from here. This will set the CWD to the gulpfile directory as well. This is useful for transpilers but also has other applications. Will require a module before running the gulpfile. Print the global and local gulp versions. Some flags only work with gulp 4 and will be ignored when invoked against gulp 3. All other flags are for tasks to use if needed. For example, if you always want your gulpfiles to run in node's harmony mode, you can set -harmony here Any relative paths will be resolved against the -cwd directory (if you don't want that behavior, use absolute paths)Īn array of flags used to forcibly respawn the process upon startup. Run tasks given on the CLI in series (the default is parallel)Īn array of modules to require before running the gulpfile. Set default depth of task dependency tree. Reduce the output of task dependency tree by default. Top-level description of the project/gulpfile (Replaces "Tasks for ~/path/of/gulpfile.js")Ĭontinue execution of tasks upon failure by default. Supported configurations properties: Property Ĭonfiguration from the home directory ( ~) and current working directory ( cwd) are merged with cwd taking precedence. You can find a list of supported languages at. ConfigurationĬonfiguration is supported through the use of a. ![]() The CLI adds _CWD which is the original cwd it was launched from. If you would like to add support for a new language, send pull requests/open issues on that project. ![]() Fish:Īdd gulp -completion=fish | source to ~/.config/fish/config.fish. Powershell:Īdd Invoke-Expression ((gulp -completion=powershell) -join ::NewLine) to $PROFILE. Zsh:Īdd eval "$(gulp -completion=zsh)" to ~/.zshrc. Bash:Īdd eval "$(gulp -completion=bash)" to ~/.bashrc. To enable tasks auto-completion in shell you should add eval "$(gulp -completion=shell)" in your. Thanks to the grunt team, specifically Tyler Kellen If there is noĭefault task, gulp will error. Just running gulp will execute the task default. If you would like to execute tasks serially, you must specify the -series flag. If more than one task is listed, Gulp will execute all of themĬoncurrently, that is, as if they had all been listed as dependencies ofīy default, Gulp does not serialize tasks listed on the command line. The task(s) listed on the command line will be executed. task ( 'build', build ) // gulp 4.x gulp.
0 Comments
Leave a Reply. |