jandre / always-tail

node module for always tailing a file -- recovers gracefully if it gets moved, deleted, or rolled-over.
56 stars 17 forks source link

tail files without polling #12

Open ORESoftware opened 7 years ago

ORESoftware commented 7 years ago

Just wondering if there would be a way to implement this library without polling for file changes? Would be a lot more performant, I think, thanks!

beheh commented 7 years ago

Maybe the library could use fs.watch.

fieldju commented 5 years ago

Maybe the library could use fs.watch.

Just my two cents, this lib is nice because it does poll, I am having to replace node-tail with this lib because fs.watch doesn't work in a docker container with a shared volume.