Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS Doesn't apply until I refresh the page #19

Open
jcldavid opened this issue Apr 1, 2013 · 1 comment
Open

CSS Doesn't apply until I refresh the page #19

jcldavid opened this issue Apr 1, 2013 · 1 comment

Comments

@jcldavid
Copy link

jcldavid commented Apr 1, 2013

Google Chrome Version 26.0.1410.43 m. I'm using it with guard-livereload. Anyone else who has this issue?

I also tried this on my Guardfile

guard 'livereload', :apply_css_live => true do
  watch(%r{.+\.(html)})
  watch(%r{css/style.css})
end
@PatidarWeb
Copy link

@Apathetic012
try to edit with

guard 'livereload' do
watch(%r{(.+.html|css|js)$}) { |m| "/var/#{m[1]}" }
end

you can do further as bellow.

(1) watch(%r{(.+.html|css|js)$}) { |m| "/var/www/#{m[1]}" } and
(2) moved Guardfile as a ~/.guardfile to home directory.

also you can further read on issue at guard/guard-livereload#83

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant