-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
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
Plugins using through2.obj are limited to 16 files by default #716
Comments
You need something consuming the stream. Make sure you are returning the stream for the task or consuming it yourself otherwise it will pause when the watermark is hit |
Thanks ! If I consume it with a simple .size() from gulp-size it's working.
|
You should open an issue on gulp-ftp to fix this |
I've spent a whole night trying to figure this out, many thanks @fabiendem I made a sewer for gulp pipe like this..
|
Hello,
I am facing an issue with the plugin gulp-ftp, posted it in the issues of the repo and got redirected here. (See: https://github.com/sindresorhus/gulp-ftp/issues/25).
Here is a copy paste of the problem description:
I am trying to upload 25 files but only 16 files are uploaded via the plugin.
If I use the plugin gulp-using, I can see that the 25 files are passed to the ftp plugin :
But If in the index.js of the plugin I log the files going through through2:
I get only the first 16 files.
If I increase the highWaterMark option, all the files are uploaded:
So basically the highWaterMark option is currently not dynamic, that's what I understand...
I am not sure it's the role of gulp to deal with this but I transfer the issue as advised by @sindresorhus
Thanks
The text was updated successfully, but these errors were encountered: