Skip to content

Instantly share code, notes, and snippets.

@bhurlow
Created April 8, 2014 22:14
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 bhurlow/10201211 to your computer and use it in GitHub Desktop.
Save bhurlow/10201211 to your computer and use it in GitHub Desktop.
node tail -f
var spawn = require('child_process').spawn
var tail = spawn('tail', ['-f', 'dicks.log'])
tail.stdout.pipe(process.stdout)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment