Closed niallsmart closed 11 years ago
Thanks, I'll merge but add a reminder to remove this when tilt PR get merged, sounds good?
Sounds good – this scenario shouldn't happen once the bug in Tilt is fixed.
submitted new pull request to address this as Tilt.mappings
is nonexistent in current sinatra
https://github.com/rstacruz/sinatra-assetpack/pull/201
The implementation of
AssetPack.tilt_formats
currently assumes there is always at least one engine registered for a given Tilt format, but that is not always the case (related: https://github.com/rtomayko/tilt/pull/206)This patch skips over formats that don't have an engine instead of calling methods on
nil
.