Permalink
Browse files

Add 'entryStat' event in dir readers

  • Loading branch information...
1 parent c40f023 commit 253a77e8bd256249551ba067dc02ec1abdb3df88 @isaacs isaacs committed Mar 26, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/dir-reader.js
View
@@ -114,6 +114,10 @@ DirReader.prototype._read = function () {
}
})
+ entry.on("stat", function (props) {
+ me.emit("entryStat", entry, props)
+ })
+
entry.on("ready", function EMITCHILD () {
// console.error("DR emit child", entry._path)
if (me._paused) {

0 comments on commit 253a77e

Please sign in to comment.