Created
July 7, 2014 21:48
-
-
Save josephj/c2336db55c78ed7cb476 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A sample Gemfile | |
source "https://rubygems.org" | |
gem 'guard' | |
gem 'guard-livereload' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
guard 'livereload', port: 56792 do | |
watch(%r{app/application.views/.+\.(php|erb|haml|slim)$}) | |
#watch(%r{app/helpers/.+\.rb}) | |
#watch(%r{public/.+\.(css|js|html)}) | |
#watch(%r{spec/.+\.(css|js|html)}) | |
#watch(%r{config/locales/.+\.yml}) | |
# Rails Assets Pipeline | |
watch(%r{(app)(/media/\w+/(.+\.(css|js|html))).*}) { |m| "/media/#{m[3]}" } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment