rstacruz/sinatra-assetpack — Issue #40: Cache buster breaks in development mode
Author: bradherman
Created: 2012-02-15 22:45:06+00:00
State: open

Take the following for example:

css :admin_css, "/asset/admin.css", [
'/stylesheets/admin/chosen.css',
'/stylesheets/issues/screen.css'
]

When run in production we get an output of PATH/asset/admin.87972.css, for example, and that file works just fine.

However, in development, we get the /stylesheets/admin/chosen.87972.css and /stylesheets/issues/screen.87972.css, but both of these result in 404's. Removing the cache-buster number fixes this, but AFAIK, this isn't configurable.