Giter Club home page Giter Club logo

Comments (4)

robrich avatar robrich commented on May 30, 2024

I'll take a look.

from gulp.

robrich avatar robrich commented on May 30, 2024

It appears Orchestrator is uninvolved. When the input file is streamed (buffer:false) I can't get stream data from file.contents.on('data', or file.contents.on('end', in outstream (/test/dest.js line 80). If buffer:true it works just fine (but it's also no longer an inner-stream.) I can get data if I build an intermediate stream. instream.pipe(es.map(function (file, cb) { file.contents.once('end',... works just fine, but hook it onto outstream and no go. Even doodling through writeFile, streamFile, createOutputStream, etc, I get the same: can't get any data out of file.contents once the data reaches createOutputStream. Could this be a streams vs. streams2 thing? Maybe related to nodejs/readable-stream#69? Perhaps we just note that buffer:false isn't supported in Node v0.8? (It wasn't supported at all until very recently.)

from gulp.

yocontra avatar yocontra commented on May 30, 2024

Ah yeah thats a 0.8 streaming thing. >=0.9 won't start emitting data until something is listening. In 0.8 it fires all of the data out before anything is attached. We can optionally .pause() on it on 0.8 and have a note that says they need to call .resume() when they need the data

from gulp.

yocontra avatar yocontra commented on May 30, 2024

Fixed in the latest version

from gulp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.