Rails 3.1 asset pipeline doesn't pick up changes to @import'd sheets

后端 未结 2 2063
谎友^
谎友^ 2021-02-01 06:51

I use @import\'d partial sheets to organize my css/sass:

/app
  /assets
    /stylesheets
      _constants.sass
      _layout.sass
      ...
      ap         


        
2条回答
  •  执笔经年
    2021-02-01 07:11

    The answer from nanothief led me to the solution (thank you!) but in an indirect way. Once I finally found the time to get back on here and look up the referenced post, it had been updated to say that the fix was no longer needed.

    Sure enough, it appears that this bug has been fixed in Rails 3.1.0 stable with sass-rails for 3.1.0. So good! I've confirmed that updating the gems does get everything back to working correctly, tested in a couple of apps.

提交回复
热议问题