L
L
littleguga2016-06-28 19:07:12
Pug
littleguga, 2016-06-28 19:07:12

How to make gulp not crash, but wait for a bug to be fixed?

I use gulp and plugins to build the project. Sometimes I start editing a file, do not finish writing to the end of the line / the desired format and switch the window. Gulp (plugin crashes, which in turn crashes Gulp itself) crashes with a syntax error.
Can I somehow make it wait until I fix the file again or just ignore the error?
1. Maybe there are plugins for this?
2. The idea came to use try / catch, but how much is this best practice, and is it generally acceptable?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2016-06-28
@littleguga

gulp plumber

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question