@@ -18,12 +18,13 @@ to growl in addition to the console.
18
18
19
19
sudo gem install rerun
20
20
21
- or...
21
+ If you want to use the latest version, grab it off Github:
22
22
23
23
gem sources -a http://gems.github.com/
24
24
sudo gem install alexch-rerun
25
25
26
- (The github way isn't working yet for some reason. Maybe I have to wait for cron to run or something.)
26
+ I'll bump the version on Github for release candidates, and deploy to
27
+ Rubyforge only when it's had some time to bake.
27
28
28
29
# Usage:
29
30
@@ -35,10 +36,9 @@ app.rb:
35
36
rerun app.rb
36
37
37
38
Or if you're running a Rack app that's configured in config.ru
38
- but you want to override its port:
39
+ but you want it on port 4000 and in debug mode :
39
40
40
- rerun "thin start --port=4000 -R config.ru"
41
-
41
+ rerun "thin start --debug --port=4000 -R config.ru"
42
42
43
43
# Options:
44
44
@@ -80,12 +80,14 @@ YMMV!
80
80
81
81
# Why did you write this?
82
82
83
- I've been using [ Sinatra] ( http://sinatrarb.com ) and loving it. In
84
- order to simplify their system, the Rat Pack just took out
85
- auto-reloading. I approve of this: a web application framework should
86
- be focused on serving requests, not on munging Ruby ObjectSpace. But
87
- I still wanted automatic reloading during development. Shotgun wasn't
88
- working for me (see above) so I spliced Rerun together out of .
83
+ I've been using [ Sinatra] ( http://sinatrarb.com ) and loving it. In order
84
+ to simplify their system, the Rat Pack just removed auto-reloading from
85
+ Sinatra proper. I approve of this: a web application framework should be
86
+ focused on serving requests, not on munging Ruby ObjectSpace for
87
+ dev-time convenience. But I still wanted automatic reloading during
88
+ development. Shotgun wasn't working for me (see above) so I spliced
89
+ Rerun together out of code from Rspactor, FileSystemWatcher, and Shotgun
90
+ -- with a heavy amount of refactoring and rewriting.
89
91
90
92
# Credits
91
93
0 commit comments