Hi,
I tried your example and when using
var path = "/Users/labm/Documents/www";
Node gives me the following error:
Error: ENOTDIR, not a directory '/Users/labm/Documents/www/.DS_Store'
Node.js is right of course, but why is it looking for .DS_Store?
thx,
Sam