Watch also coffee script files.
This commit is contained in:
parent
edcd7d925e
commit
10e7c2cda3
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ guard :livereload, :port => "35738" do
|
||||||
watch(%r{public/.+\.(css|js|html)})
|
watch(%r{public/.+\.(css|js|html)})
|
||||||
watch(%r{config/locales/.+\.yml})
|
watch(%r{config/locales/.+\.yml})
|
||||||
# Rails Assets Pipeline
|
# Rails Assets Pipeline
|
||||||
watch(%r{(app|vendor)(/assets/\w+/(.+\.(css|js|html|png|jpg))).*}) { |m| "/assets/#{m[3]}" }
|
watch(%r{(app|vendor)(/assets/\w+/(.+\.(css|js|coffee|html|png|jpg))).*}) { |m| "/assets/#{m[3]}" }
|
||||||
watch(%r{(app|vendor)(/assets/\w+/(.+)\.(scss))}) { |m| "/assets/#{m[3]}.css" }
|
watch(%r{(app|vendor)(/assets/\w+/(.+)\.(scss))}) { |m| "/assets/#{m[3]}.css" }
|
||||||
watch(%r{(app|vendor)(/assets/\w+/(.+)\.(svg))}) { |m| "/assets/#{m[3]}.svg" }
|
watch(%r{(app|vendor)(/assets/\w+/(.+)\.(svg))}) { |m| "/assets/#{m[3]}.svg" }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue