tempalte and readme work
This commit is contained in:
parent
21878134e3
commit
1d9f43326c
15
README.md
Normal file
15
README.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
Want to restart your Rails dev server whilst you work? Now you can!
|
||||||
|
|
||||||
|
guard 'rails', :port => 5000 do
|
||||||
|
watch('Gemfile.lock')
|
||||||
|
watch(%r{^(config|lib)/.*})
|
||||||
|
end
|
||||||
|
|
||||||
|
Three fun options!
|
||||||
|
|
||||||
|
* `:port` is the port number to run on (default 3000)
|
||||||
|
* `:environment` is the environment to use (default development)
|
||||||
|
* `:start_on_start` will start the server when starting Guard (default true)
|
||||||
|
|
||||||
|
This is super-alpha, but it works for me!
|
||||||
|
|
5
lib/guard/rails/templates/Guardfile
Normal file
5
lib/guard/rails/templates/Guardfile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
guard 'rails' do
|
||||||
|
watch('Gemfile.lock')
|
||||||
|
watch(%r{^(config|lib)/.*})
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user