lib/heartcheck/generators/templates/config.rb in heartcheck-1.0.3 vs lib/heartcheck/generators/templates/config.rb in heartcheck-1.0.4

- old
+ new

@@ -62,6 +62,12 @@ # you can pass any kind of cache, but this need to respond to # set, get and delete monitor.add :cache do |c| c.add_service(name: 'memcached', connection: Rails.cache.instance_variable_get('@data')) end + + # WatchFile + # check if a preloaded file as changed from the disk + monitor.add :watch_file do |c| + c.add_service(file: 'version.json') + end end