gulp-until
This package evaluates a function until it returns true
to go to the next pipe.
A true-ish return value like
1
or{}
would not trigger the next pipe.
The function has to explicitly returntrue
orfalse
.
Installation
$ npm install gulp-
$ yarn add gulp-
Example Usage
Either pass a function directly:
; return gulp ;
The example above uses the ES6 syntax.
Or additionally give gulp-util a custom time to wait between checks.
Default: 100
var until = ; return gulp ;