README.md in watchdocs-rails-0.4.5 vs README.md in watchdocs-rails-0.4.6

- old
+ new

@@ -102,18 +102,24 @@ end ``` ### Development (manual tests) -If you don't have any request specs yet. You can add the following line to `config/environments/development.rb`. +If you don't have any request specs yet, you can add the following line to `config/environments/development.rb`. ```ruby config.middleware.insert(0, Watchdocs::Rails::Middleware) ``` -If your app doesn't make a lot of JSON requests please set `buffer_size` to lower number (f.e. 10, it's 50 by default). Watchdocs will be recording all requests in your development environment during manual tests. +To make sure we will receive all recorded request please add this worker command to your `Procfile` or run it manually: -You can of course enable the middleware in any other environment like dev or staging +``` +watchdocs --every 60.seconds +``` + +Watchdocs will be recording all requests in your development environment during manual tests and export them every `buffer_size` requests and every 60 seconds (you can adjust the frequency to your needs). + +You can of course enable the middleware in any other environment like `dev` or `staging`. ## Versioning Semantic versioning (http://semver.org/spec/v2.0.0.html) is used.