April 2018
Beginner
226 pages
4h 47m
English
By integrating the power of gulp plugins and gulp task together, we can create a flow of consecutive tasks that can run parallel or sequentially as per our requirements. Though we have the gulp task dependency feature, we are going to use the npm run-sequence module to run the task in sequence. This helps us to structure the task easily and reduce the complexity when the number of tasks increases over time.
Run the following command to install run-sequence:
npm install run-sequence --save-dev
With respect to its usage, the only thing we need to remember is that every gulp task should either return a stream or promise, or should be handled using callback. Let's justify this statement and leverage the power of gulp automation ...
Read now
Unlock full access