Slow refresh on any css change with @import "semantic-ui";
MainShayne233 opened this issue · 6 comments
With:
@import "semantic-ui";
in my application.scss, I was getting incredibly slow refresh times anytime any CSS (not just semantic stuff) was touched.
After replacing with;
*= require semantic-ui
the problem disappears.
@MainShayne233 Because @import "semantic-ui"
will load many sass files, you can use guard
and 'livereload' to speed up it.
Same issue here. I use guard and livereload and still it's very slow. Using Rails 5.
Same issue here too.
If you change 'sass-rails' to 'sassc-rails' in your Gemfile, you'll notice a huge performance improvement (sassc is the native version of Sass, which is much faster than the pure-Ruby version).
@pedantic-git Thank you very much for the suggestion. I will definitely try it out.
sassc isnt always the solution. Does *= require semantic-ui have any side effects?