bin/inotify_watch in rspactor-0.7.0.beta.6 vs bin/inotify_watch in rspactor-0.7.0.beta.7

- old
+ new

@@ -3,11 +3,11 @@ require 'rb-inotify' folders = Array.new notifier = INotify::Notifier.new -notifier.watch(ARGV.first || '.', :modify, :recursive) do |event| +notifier.watch(ARGV[0], ARGV[1].to_sym, :recursive) do |event| dir = File.expand_path(File.dirname(event.absolute_name)) + '/' if !folders.include?(dir) folders << dir end end @@ -20,6 +20,6 @@ $stdout.flush folders.clear end sleep(0.5) -end \ No newline at end of file +end