How can I enable the debug mode of Sprockets in Sinatra.
I prefer the assets to be not concatenated while developing
How can I enable the debug mode of Sprockets in Sinatra. I prefer the
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t believe that there is a debug option for Sprockets itself. I could be wrong, but I didn’t see anything about debug mode in their source.
I did happen to see things relating to the Rails development mode in the sprockets-rails source
Edit:
I might suggest something for Sinatra like Sinatra-assetpack which as development and production modes built in.