How to live stream a log file?
Closed this issue · 3 comments
lucafaggianelli commented
In the readme you speak about a usecase, I'm trying to build the same thing on a Node express server, do you have some code to share? Client and server side? That would be very useful!
https://github.com/drudru/ansi_up#example-of-a-use-case
Thanks
Luca
drudru commented
Hi, here is an old example:
https://github.com/drudru/rq/blob/bc46e7e310bb14d86c07084ac21a02ceb6f22b64/code/public/js/main.js#L2
It might be an older version of ansi_up in there, but the gist of the idea is the same.
lucafaggianelli commented
very useful thank you!
drudru commented
👍