Replace the inotify library by rb-inotify

This commit is contained in:
Paul van Tilburg 2015-09-06 10:26:41 +02:00
parent 93a3eaf51e
commit 96a6d3533c
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
require 'getoptlong'
require 'inotify'
require 'rb-inotify'
require 'pathname'
# Small necessary Pathname class extension.
@ -186,7 +186,7 @@ end
## Main event loop
# Add input file with dependancies to the watch list and start event loop.
i = Inotify.new
i = INotify::Notifier.new
dirs = files.map { |file| File.dirname(file) }
dirmap = {}
dirs.each do |dir|