Gulp v4: what's the correct way of creating tasks
See original GitHub issueGood day!
a) This doc doesn’t mention gulp.task
. But it exists. What’s the correct way of creating tasks?
b) If I use exporting function method, is fn.description
, etc. used?
c) So, every (every) function is considered (a private, maybe) task? But if function is just a helper (and even is not compatible with task system)?
d) If I use gulp.task
, can I make a private task?
Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Creating Tasks | gulp.js
Gulp provides two powerful composition methods, series() and parallel() , allowing individual tasks to be composed into larger operations.
Read more >Gulp 4 tutorial for beginners (Sass and JS workflow)
This tutorial on Gulp 4 will explain step by step, how to set up Gulp in your workflow to compile Sass and JavaScript...
Read more >How to setup your Workflow using Gulp v4.0.0 | by Jatin Varlyani
The best way to automate the tedious tasks. I caught myself doing some tasks by hand like minifying, beautifying, prefixing and linting. This...
Read more >Gulp 4 Tutorial - DEV Community
First create new directory for our project, if you already have one no need to create new. Open command prompt and change current...
Read more >A quick guide for switching to gulp 4 | by Jhey Tompkins
For those in camp TL;DR — not a huge impact. Your tasks will break if they use the list parameter to define task...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kuraga have you reviewed our WIP API docs at https://github.com/gulpjs/gulp/pull/2226? I’m pretty sure your questions are answered.
@dmellstrom your advice is outdated in relation to gulp 4 and the new getting started guide.
gulp.task
is heavily unrecommended now.