You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Sinatra Assetpack alongside Ruby Stylus (i.e., I gem 'stylus', :require => 'stylus/tilt' in my Gemfile, then serve '/css', :from => 'public/styl' in my assets block).
Say I serve a stylesheet via css :main, ['/css/layouts/main.css']. Here, main.css is compiled from main.styl. When I modify any line directly within main.styl, sinatra-assetpack auto-recompiles a new version of, say, main.849289.css.
However, when I modify any stylesheet imported by main.styl (via @import), this auto-recompiling doesn't seem to take place. In other words, it seems like Sinatra Assetpack's Stylus auto-recompiling doesn't support nested stylesheets.
Any tips on how to fix this? Thanks so much!
The text was updated successfully, but these errors were encountered:
rzhou186
changed the title
Stylus support does not auto-recompile stylesheets when imported spreadsheets are modified.
Stylus support does not auto-recompile stylesheets when their imported spreadsheets are modified.
Dec 30, 2014
rzhou186
changed the title
Stylus support does not auto-recompile stylesheets when their imported spreadsheets are modified.
Stylus support does not auto-recompile stylesheets when their imported stylesheets are modified.
Dec 30, 2014
rzhou186
changed the title
Stylus support does not auto-recompile stylesheets when their imported stylesheets are modified.
Stylus auto-recompiling does not support nested stylesheets.
Dec 30, 2014
Ah, looks like this issue has cropped up before: #52, #139, #102. And that it's not just a problem with supporting Stylus, but also a problem with supporting other CSS preprocessors.
rzhou186
changed the title
Stylus auto-recompiling does not support nested stylesheets.
Stylus auto-recompiling does not support imported stylesheets.
Dec 30, 2014
I am using Sinatra Assetpack alongside Ruby Stylus (i.e., I
gem 'stylus', :require => 'stylus/tilt'
in myGemfile
, thenserve '/css', :from => 'public/styl'
in myassets
block).Say I serve a stylesheet via
css :main, ['/css/layouts/main.css']
. Here,main.css
is compiled frommain.styl
. When I modify any line directly withinmain.styl
,sinatra-assetpack
auto-recompiles a new version of, say,main.849289.css
.However, when I modify any stylesheet imported by
main.styl
(via@import
), this auto-recompiling doesn't seem to take place. In other words, it seems like Sinatra Assetpack's Stylus auto-recompiling doesn't support nested stylesheets.Any tips on how to fix this? Thanks so much!
The text was updated successfully, but these errors were encountered: