vhyza / sass-rails-source-maps

DEPRECATED: Rails gem for generating sass source maps
MIT License
85 stars 21 forks source link

adding a new stylesheet to a project with sass #5

Closed morenoh149 closed 10 years ago

morenoh149 commented 10 years ago

So I want to add a new sass file to a rails project. Turns out I need to regenerate my assets if I do this with this gem installed. Running

$ rm -rf tmp/cache/assets
$ rm -rf public/assets

isn't regenerating things for me. Related http://stackoverflow.com/questions/21589109/cant-add-a-stylesheet-with-sass-to-a-rails-project?noredirect=1#comment32615282_21589109

morenoh149 commented 10 years ago

It'd be cool if in production the source map was regenerated on every request. Might sound expensive but might be the easiest way to fix this.

vhyza commented 10 years ago

Hello, if I understand problem right, it is same problem as in #6?

vhyza commented 10 years ago

I released new version 0.0.4 which should resolve wrong number of arguments (2 for 1) (in app/assets/stylesheets/application.css.scss) exception.