question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How can I pipe stream between tasks

See original GitHub issue

I have two tasks, task one pipe to task two.

gulp.task('one', function(){
  gulp.src('js/**/*.js')
    .pipe(someplugin())
    .pipe(gulp.tasks['two']);
});

gulp.task('two', ['one'], function() {
  gulp.tasks['one']
    .pipe(gulp.dest('dist/js'));
});

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
yocontracommented, Dec 24, 2013

You don’t. If you find yourself having to do this then you are probably doing something the wrong way. What are you trying to do?

0reactions
phatedcommented, May 30, 2018

@thewizarodofoz this thread is 5 years old… don’t randomly comment on it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Passing a stream between two gulp tasks? - Stack Overflow
each task begins with a "src" plugin (very often gulp.src ) and ends with a "sink" plugin ( gulp.dest , or like in...
Read more >
Using Streams and Tasks in Snowflake
Using Streams and Tasks in Snowflake ... We use Snowpipe to ingest the data from these storages into our load tables in Snowflake....
Read more >
Getting Started with Node Streams - CODE Magazine
Pipe offers a better alternative for reading data from a stream and performing an asynchronous task. Pipe. All streams implement a pipeline ...
Read more >
System.IO.Pipelines in .NET - Microsoft Learn
Apps that parse streaming data are composed of boilerplate code having ... The Pipe will start returning incomplete tasks from FlushAsync ...
Read more >
Snowflake Triggers: How To Use Streams & Tasks? - Hevo Data
It is recommended to use Task to execute SQL statements, including statements that query data from the stored procedures. Moreover, developers ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found