Skip to content

Commit ec531ab

Browse files
committed
default to 20 *.rb files to watch
1 parent cae1658 commit ec531ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/jruby_art/runners/watch.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ class Watcher
2222
SLEEP_TIME = 0.2
2323
def initialize
2424
count = Dir["**.*rb"].length
25-
max_watch = RP_CONFIG.fetch('MAX_WATCH', 30).to_i
26-
return warn format(WATCH_MESSAGE, max_watch, count) if count > max_watch
25+
max_watch = RP_CONFIG.fetch('MAX_WATCH', 20)
26+
return warn format(WATCH_MESSAGE, max_watch, count) if count > max_watch.to_i
2727
reload_files_to_watch
2828
@time = Time.now
2929
start_watching

vendors/Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ EOS
1111

1212
JRUBYC_VERSION = '9.1.16.0'
1313

14-
EXAMPLES = '2.8'
14+
EXAMPLES = '2.9'
1515
HOME_DIR = ENV['HOME']
1616
MAC_OR_LINUX = /linux|mac|darwin/ =~ RbConfig::CONFIG['host_os']
1717

0 commit comments

Comments
 (0)