-
-
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
Better document using merge-stream to handle multiple streams being returned #1269
Comments
👎 on introducing magic into core. People need to learn their tools, including streams and node, if they are using gulp. This is just a documentation issue. |
I agree with returning an array not being a good solution. |
@phated: I feel it's more an overall issue with the recipes and searchability. Renaming the recipe might help, adding keywords to readme.md in the recipes might help, but I really feel there needs to be a better solution. I sometimes struggle to find the recipe for merging streams, and I know it's there! I always end up on the combining streams one, which is the wrong one. "Using multiple sources in one task" is not the easiest to find for me—but for some people, it'll be the first thing they search for. What happened with the docs project in the end? I was pretty busy at the time, but I have more time if you want someone to lead something like that. |
@callumacrae We are moving documentation to readme.io, I think I sent you an invitation a while ago to help out. readme.io gives us better organization and search + documentation with good versioning |
Indeed, I'm in now. Forgot what it was called and couldn't find the email :) I'll take a look to see what I can do over the weekend |
@callumacrae my thoughts are to explicitly add a merge-stream example to the README sample also. And maybe even in the API docs. |
Is help still wanted on this one? |
Yep! |
A really commonly asked question, and one of the recipes, is how to return multiple streams in one task. The answer is to use merge-stream, of course, but would it be easier for users / cut down the number of support questions if merge-stream were a dependency of gulp and returning an array of streams called it automatically?
So this:
Would turn into this:
It's pretty much the same, but a lot simpler to someone who doesn't understand streams or nodejs. Also, really easy to implement.
Thoughts?
The text was updated successfully, but these errors were encountered: