Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Better: Update README with the Guardfile template & msg for customizi…

…ng it
  • Loading branch information...
commit 253aaa2c55fd5052540405553b2810de7fb2689a 1 parent 869e381
@maximeg maximeg authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 README.markdown
View
7 README.markdown
@@ -30,9 +30,13 @@ being active.
## Guardfile
guard 'resque', :environment => 'development' do
- watch(%r{^app/(.+)\.rb})
+ watch(%r{^app/(.+)\.rb$})
+ watch(%r{^lib/(.+)\.rb$})
end
+Feel free to be more specific, for example watching only for `app/models` and `app/jobs`
+to avoid reloading on a javascript file change.
+
## Options
You can customize the resque task via the following options:
@@ -87,4 +91,3 @@ Ideas for this gem came from [Guard::WEBrick](http://github.com/fnichol/guard-we
I hacked this together from the `guard-delayed` gem for use with Resque. All credit go to the original authors though. I just search/replaced and tweaked a few things
-
Please sign in to comment.
Something went wrong with that request. Please try again.