README.md in caddy-0.0.1 vs README.md in caddy-0.0.2
- old
+ new
@@ -20,9 +20,23 @@
end
end
end
```
+## Using Caddy with Spring (in development)
+
+For testing Caddy in development with Spring, you need to have Caddy start after fork:
+
+```ruby
+# in your caddy.rb initializer, perhaps
+
+if Rails.env.development?
+ Spring.after_fork do
+ Caddy.start
+ end
+end
+```
+
## Give it to me!
Add this line to your application's Gemfile:
```ruby