Skip to content
Browse files

Updated readme to mention reloading

  • Loading branch information...
1 parent d8b81fe commit 0ee2c6efd3abe3dbde3d819a6809eb68be0281bd @sickill sickill committed
Showing with 11 additions and 3 deletions.
  1. +11 −3 README.markdown
View
14 README.markdown
@@ -29,7 +29,7 @@ Additionally it exposes _$rack_ variable which allows you to make simulated HTTP
To start racksh session run following inside rack application directory (containing config.ru file):
% racksh
- Rack::Shell v0.9.4 started in development environment.
+ Rack::Shell v0.9.5 started in development environment.
>>
Specifying location of config.ru:
@@ -44,13 +44,13 @@ Executing ruby code inside application environment and printing results:
Specifying Rack environment (default is development):
% RACK_ENV=production racksh
- Rack::Shell v0.9.4 started in production environment.
+ Rack::Shell v0.9.5 started in production environment.
>>
### Making simulated HTTP requests to your app
% racksh
- Rack::Shell v0.9.4 started in development environment.
+ Rack::Shell v0.9.5 started in development environment.
>> $rack.get "/"
=> #<Rack::MockResponse:0xb68fa7bc @body="<html>...", @headers={"Content-Type"=>"text/html", "Content-Length"=>"1812"}, @status=200, ...
@@ -124,6 +124,14 @@ You can also make requests:
This will ensure you are always logged in when you start _racksh_.
+### Reloading
+
+If you've made some changes to your app and you want to reload it type:
+
+ reload!
+
+It will reload (actually restart) whole Rack application in new process.
+
## Bugs & feature requests
Please report bugs and/or feature requests on the github issue tracker for the project located [here](http://github.com/sickill/racksh/issues).

0 comments on commit 0ee2c6e

Please sign in to comment.
Something went wrong with that request. Please try again.