On Sep 23, 12:52 pm, Andris Reinman <
andris.rein...@gmail.com> wrote:
> What would be the best way to detect a file has been written to disk? Once
> I have passed all the data to a fs.WriteStream, the data is at first
> buffered by node and written to the disk asynchronously. There is no "end"
> or "close" event to listen to (or at least these don't trigger on my system
> (node v0.8.9)) when all bytes are actually written to the disk.
descriptor is closed. Are you sure .end() is being called on the