This guy is using express and the Node.js documentation suggests that just calling
res.write("foo");
Is writing to a stream. But no matter how many times I write to res it never shows up in my browser until I call res.end(); This post suggests that if you take out the html tags and change the MIME type to text/plain that it might show up incrementally in your browser but that does not work for me.