Skip to content

Instantly share code, notes, and snippets.

@lucagrulla
Created September 12, 2011 20:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucagrulla/1212271 to your computer and use it in GitHub Desktop.
Save lucagrulla/1212271 to your computer and use it in GitHub Desktop.
node-tail example
Tail = require('tail').Tail;
tail = new Tail("fileToTail");
tail.on("line", function(data) {
console.log(data);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment