A
A
Askar Mukhametshin2015-12-09 19:17:55
JavaScript
Askar Mukhametshin, 2015-12-09 19:17:55

How to restart a task in Gulp?

The sequence is as follows: A
task is launched, if an error occurs at a certain stage, it is caught. Next, an attempt is made to eliminate it, if the error is eliminated, you need to restart the task, otherwise we take off.
The whole batch takes place in a single task, outside the watcher.
PS There is an idea to implement an error check before starting the build, but this check will give a subsidence in the total build time. This would be desirable to avoid.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Khristoev, 2015-12-17
@Haoss

gulp plumber

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question