Livereload on Rails does not show SCSS changes

I have the following setup: rails 4. all SCSS and HTML are in app/assets/stylesheets | templates

Gemfile:

gem 'guard'
gem 'guard-compass'
gem 'guard-shell'
gem 'guard-livereload'

Guardfile:

guard :livereload do
  watch(%r{app/assets/.+\.(css|html|png|jpg)})
end

Liverload is connected and waiting for changes

$ guard
19:45:10 - INFO - LiveReload is waiting for a browser to connect.
19:45:11 - INFO - Guard is now watching at '/Users/dev/myproject'
[1] guard(main)> 19:46:05 - INFO - Browser connected.
+4
source share
1 answer

- , Guard CSS, CSS , . ( .css.scss), , . scss , , , , , .

, , , -, , .

+2

Source: https://habr.com/ru/post/1570193/


All Articles