Closed rintaun closed 11 years ago
Yep that is a know problem when using CSS preprocessors + asset manager, it is the same thing with sprockets except you may use a manifest to define dependent files which will trigger reload too.
Any advice for a workaround of this issue? I'm utilizing foundation framework, which is import heavy. It hurts having to modify parent files to get the includes to refresh. A reset
or refresh
would be very welcome.
I think sass-rails fixes this issue for sprockets but not sinatra-assetpack, might have a loot at this.
Duplicated by #139, I am closing this one.
I do not have much time to maintain this gem anymore, if someones would like too keep up the work contact @rstacruz.
When generating cache-breaking tokens for assets, only the parent file is taken into account. However, this means that in formats such as LESS and SASS, which enable users to import other files, the parent file is not cache-broken when imported files are edited. Ideally, editing any of the imported files should create a new cache-breaking token. #93 is one potential fix for this issue, though other improvements could potentially fix this as well.