We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If a directory contains more than 16 files gulp.src pushes only first 16 and ignore others.
gulp.src
Here is my gulpfile.js:
gulpfile.js
var gulp = require('gulp'), through = require('through2'); gulp.task('list', function() { gulp.src('src/**/*.txt') .pipe(through.obj(function(file, enc, callback) { console.log(file.path); this.push(file); callback(); })); });
My package.json is:
package.json
{ "devDependencies": { "gulp": "~3.8.10", "through2": "^0.6.3" } }
My directories structure is:
src/ 01.txt 02.txt 03.txt 04.txt 05.txt 06.txt 07.txt 08.txt 09.txt 10.txt 11.txt 12.txt 13.txt 14.txt 15.txt 16.txt 17.txt 18.txt gulpfile.js package.json
After I run gulp list I get the following results:
gulp list
/tmp/gulp/src/01.txt /tmp/gulp/src/02.txt /tmp/gulp/src/03.txt /tmp/gulp/src/04.txt /tmp/gulp/src/05.txt /tmp/gulp/src/06.txt /tmp/gulp/src/07.txt /tmp/gulp/src/08.txt /tmp/gulp/src/09.txt /tmp/gulp/src/10.txt /tmp/gulp/src/11.txt /tmp/gulp/src/12.txt /tmp/gulp/src/13.txt /tmp/gulp/src/14.txt /tmp/gulp/src/15.txt /tmp/gulp/src/16.txt
But there are no 17.txt and 18.txt files in the list!
17.txt
18.txt
The text was updated successfully, but these errors were encountered:
See #716
Sorry, something went wrong.
Returning files stream from gulp task really works. Thank you @heikki
No branches or pull requests
If a directory contains more than 16 files
gulp.src
pushes only first 16 and ignore others.Here is my
gulpfile.js
:My
package.json
is:My directories structure is:
After I run
gulp list
I get the following results:But there are no
17.txt
and18.txt
files in the list!The text was updated successfully, but these errors were encountered: