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.
I believe I should get console.log output in the following:
I don't unless I modify filed to call end() like so at line 140:
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.