cancel
Showing results for 
Search instead for 
Did you mean: 

FRONTOOLS & SASS Theme

SOLVED

FRONTOOLS & SASS Theme

Hi, using the snowdog frontools and sass-blank theme, when I make edits to the stylesheets in developer mode with gulp running I can see the style.css update, and its updated as well in the pub/static location, however magento still keeps responding with the original version, hard refresh, flushed cached, and disabled all caches same issue still occurs. Any ideas?

3 REPLIES

Re: FRONTOOLS & SASS Theme

Let's try to:

1. Remove pub/static/frontend
2. Run gulp styles (--theme your-theme)

3. Check if styles.css are placed in proper directory inside pub/static/frontend

4. If 3. is true - Run your M2 instance and you should get your styles applied

 

If not, it's probably issue with your M2 instance or you make some weird customizations Smiley Happy

 

BTW. What version of theme and tools are you using?

Re: FRONTOOLS & SASS Theme

Ha! Forgot I had my varnish running locally Smiley Very Happy

Re: FRONTOOLS & SASS Theme

It works for me...Thanks

 

Please read this to get the complete idea about why Magento Core is with less and not with sass.

https://alankent.me/2016/05/21/magento-2-community-project-moving-from-less-to-sass/