My Problem is that I can not be sure when a file has been successfully written to and the file has been closed. Consider the following case:
var fs = require(\'f
Check out https://github.com/TomFrost/FlushWritable – I don't know why it's not written into the Writable core but this should do the trick.
Also, there's a discussion addressing this on GitHub https://github.com/nodejs/node-v0.x-archive/issues/7348.