Skip to content

Commit 16119be

Browse files
committed
fix reading max watch from file
1 parent fcf8a3d commit 16119be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/jruby_art/runners/watch.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def reload_files_to_watch
6969
@files = Dir.glob(File.join(SKETCH_ROOT, '**/*.{rb,glsl}'))
7070
count = @files.length
7171
max_watch = RP_CONFIG.fetch('MAX_WATCH', 20)
72-
return unless count > max_watch
72+
return unless count > max_watch.to_i
7373
warn format(WATCH_MESSAGE, max_watch, count)
7474
abort
7575
end

0 commit comments

Comments
 (0)