From 094a7cece000ba74ed010993163183476492c500 Mon Sep 17 00:00:00 2001
From: Nicolas Cavigneaux <nicolas@synbioz.com>
Date: Mon, 6 Oct 2014 11:07:29 +0200
Subject: Warning about middleware not auto-reloading

Add a section in the guide to explain that Rails can't auto-reload
a middleware on code change.

Fix #16806

[ci skip]
---
 guides/source/rails_on_rack.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/guides/source/rails_on_rack.md b/guides/source/rails_on_rack.md
index 01941fa338..8bc2678d8f 100644
--- a/guides/source/rails_on_rack.md
+++ b/guides/source/rails_on_rack.md
@@ -99,6 +99,10 @@ To find out more about different `rackup` options:
 $ rackup --help
 ```
 
+### Development and auto-reloading
+
+Middlewares are loaded once and are not monitored for changes. You will have to restart the server for changes to be reflected in the running application.
+
 Action Dispatcher Middleware Stack
 ----------------------------------
 
-- 
cgit v1.2.3