-
Notifications
You must be signed in to change notification settings - Fork 0
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
Is there a way to asign the stream to a variable? #3
Comments
Please elaborate, do you want to read a YAML file in your Gulpfile into a variable while running a task? |
Yes, I need pase the yaml file as a variable to another task. |
So in essence you have Task 1 that reads a YAML and the YAML should be available to a Task 2? I think this is bad practise and you should just read the YAML again in Task 2, as the Task 2 might sometimes run without Task 1 running before it, which might break the system. If you just need to read YAML config to be a global config for all tasks then there are libraries for that. |
Sorry I didn't make it clear.
It's just JavaScript data, not for configuration. |
I see, so first you'd read the YAML data, then use the YAML data in a following |
Yes. |
I can try to find some time to see how to implement this neatly, no promises. Please, let me know if you stumble upon a solution that works for you so I can see how they have implemented it. :) |
Okay, thanks a lot for considering this
…On Mon, Mar 20, 2017, 7:44 AM Otto Rask ***@***.***> wrote:
I can try to find some time to see how to implement this neatly, no
promises. Please, let me know if you stumble upon a solution that works for
you so I can see how they have implemented it. :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AExGmwPn69mv8EkY9qCQCjnep4Y2zKqzks5rnmasgaJpZM4Mg3MH>
.
|
No description provided.
The text was updated successfully, but these errors were encountered: