-
Notifications
You must be signed in to change notification settings - Fork 22
Not emitting 'end' #27
Copy link
Copy link
Open
Description
I believe I should get console.log output in the following:
var stream = filed(download.filename)
stream.on('end', function() { console.log('download completed.') } )
stream.pipe(response)
I don't unless I modify filed to call end() like so at line 140:
fs.createReadStream(self.path).on('end', function() {self.end()}).pipe(self.dest)
But I'm new to streams and may not know what I'm doing. Perhaps I should be listening to 'end' on the response stream in this case but that doesn't fire either.
Reproducible with node v0.6.18 and v0.8.4.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels