ruby api for file watching and tailing.
Ruby Shell Java Makefile
Latest commit 703862a Mar 9, 2016 @guyboertje guyboertje Merge pull request #78 from guyboertje/fix/76
fix 76 - change the way that target is created; rework response to quit


Getting Started

  • gem install filewatch
  • globtail -x '.gz' '/var/log/'

For developers, see FileWatch::Watch and FileWatch::Tail.

Tested on Linux/x86_64 and Solaris.

All operating systems should be supported. If you run the tests on another platform, please open a Github issue with the output (even if it passes, so we can update this document).


This project provide file and glob watching.


  • to provide a rubyish api to get notifications of file or glob changes
  • to work in major rubies (mri, yarv, jruby, rubinius?)

Example code (standalone):

require "rubygems"
require "filewatch/tail"

t =
t.subscribe do |path, line|
  puts "#{path}: #{line}"