From 12cccdde4cc45e28b7da713d5ae9aad4c208635a Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Fri, 22 Jun 2018 20:09:09 +0200 Subject: [PATCH] Add missing block variable --- rubberin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rubberin b/rubberin index 3fb521d..9bcfea6 100755 --- a/rubberin +++ b/rubberin @@ -190,7 +190,7 @@ notifier = INotify::Notifier.new dirs = files.map { |file| File.dirname(file) } dirs.each do |dir| # Set up a watch per directory - notifier.watch(dir, :close_write) do + notifier.watch(dir, :close_write) do |ev| puts "I: file #{ev.name} modified, compiling #{infile}..." compile(infile, mode) reload(infile, mode)