Merge branch 'master' of github.com:johnbintz/unison-watch

This commit is contained in:
John Bintz 2012-05-04 07:57:00 -04:00
commit 2663880c85
1 changed files with 2 additions and 0 deletions

View File

@ -88,6 +88,8 @@ class UnisonWatcher < Qt::Application
require 'rb-inotify'
@watch = INotify::Notifier.new
Thread.current[:paths].each do |path|
FileUtils.mkdir_p path
@watch.watch path, :recursive, :modify, :create, :delete do |event|
Thread.current[:app] << event.absolute_name
end