Semantic-Org / Semantic-UI-Rails-LESS

This is a gem for Rails with Semantic UI (http://semantic-ui.com) assets inside.
MIT License
123 stars 36 forks source link

Less compilation slow in development mode #4

Closed tirdadc closed 9 years ago

tirdadc commented 9 years ago

As much as I wanted to use this and not rely on the minified precompiled CSS dist files, the compilation cost makes using this approach too slow in development. I tried disabling unused Semantic components in both the CSS and JS files, and it was still pretty bad (1 - 2 seconds).

maxd commented 9 years ago

First time compilation and any changes in .overrides/.variables files takes about 10-20 seconds for compilation but this is very rare events. Other changes takes less than second because Sprockets using compiled resources from cache. So, I think this is acceptable delays.

Are you sure that your delays related to periodical compilation of LESS files from less-rails-semantic_ui?

tirdadc commented 8 years ago

This was without any custom changes to the .overrides files with a classic Rails development configuration (which I can post here) and all of the modules included by default.

I don't know what the cause is exactly but I had to switch to https://github.com/doabit/semantic-ui-sass because it didn't result in 1-2s page loads.

rob-mcgrail commented 8 years ago

I'm having the same issue - development is extremely slow if there's any change in the /vendor folder.

domi91c commented 8 years ago

I'm having this problem as well.

backward-crazy-mage-puppy-36 commented 7 years ago

I am facing this issue as well.