Permalink
Browse files

README prettifying

  • Loading branch information...
1 parent a0b987f commit b360484e833f137c9698bd9a6e6b49b271a97c94 @pferdefleisch committed May 11, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.markdown
View
@@ -7,11 +7,15 @@ then `gem install guard-sprockets`
in your project's directory root
`guard init`
`guard init sprockets`
+
which will add this to your Guardfile
+
guard 'sprockets', :destination => "public/javascripts" do
watch (%r{app/assets/javascripts/application.js})
end
+
change the destination to your public facing javascript directory and the `watch` regex to point at where your source javascript file is.
+
The base configuration would work for a rails 3 project with a directory structure like
|-- app

0 comments on commit b360484

Please sign in to comment.