I
I
Irina2015-03-02 21:52:36
JavaScript
Irina, 2015-03-02 21:52:36

Gulp is an auto-restart plugin?

Good evening!
It was necessary to use gulp (previously only Codekit), everything seems to be set up and everything works as it should, but there is a problem.
When there is an error in the code and the compiler throws an error, you need to run gulp again.
Is there a plugin or some solution so that if an error occurs, gulp starts and waits for changes.
As I understand it, somewhere there should be a callback, run gulp there

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Peppa Pig, 2017-01-27
@qbudha

Article on habré

A
Alexander Kositsyn, 2018-02-11
@alex_keysi

To prevent gulp from crashing, there is a plugin for gulp. It's called gulp-plumber. Does not throw out if an error popped up during assembly. I hope it helps

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question