I read this: is node.js' console.log asynchronous? which says that stdout used to be asynchronous. However, I'm still seeing this problem in some specific cases like this:
console.log("first");
console.log("second");
throw "bah";
I had a lot of difficulty boiling down my application into this example. The issue here is that "first" prints, but "second" does not. Wth? Has anyone seen this type of problem before?
The version of node i'm using is: node-v0.10.3-x64