We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcf8a3d commit 16119beCopy full SHA for 16119be
1 file changed
lib/jruby_art/runners/watch.rb
@@ -69,7 +69,7 @@ def reload_files_to_watch
69
@files = Dir.glob(File.join(SKETCH_ROOT, '**/*.{rb,glsl}'))
70
count = @files.length
71
max_watch = RP_CONFIG.fetch('MAX_WATCH', 20)
72
- return unless count > max_watch
+ return unless count > max_watch.to_i
73
warn format(WATCH_MESSAGE, max_watch, count)
74
abort
75
end
0 commit comments