D
D
DzianisL2017-05-03 09:11:16
JavaScript
DzianisL, 2017-05-03 09:11:16

How to stop listening to events in gulp?

Good day everyone.
How to unsubscribe from listening to an event like "change" :

browserSync.watch(dest+'/**/*.*').on('change', browserSync.reload);

I want to cancel browserSync.reload on "change" event
Thanks in advance

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question