lib/jruby_art/runners/watch.rb in jruby_art-1.1.3 vs lib/jruby_art/runners/watch.rb in jruby_art-1.2.0.pre

- old
+ new

@@ -66,10 +66,10 @@ end def reload_files_to_watch @files = Dir.glob(File.join(SKETCH_ROOT, '**/*.{rb,glsl}')) count = @files.length - max_watch = RP_CONFIG.fetch('MAX_WATCH', 20) + max_watch = RP_CONFIG.fetch('MAX_WATCH', 32) return unless count > max_watch.to_i warn format(WATCH_MESSAGE, max_watch, count) abort end end