alphagov/spotlight — pull request #120 by alexmuller (2013-12-31 18:04:04+00:00)
Title: Fix asset digest in development

I broke Sass compilation in development. Sorry.

Currently, development will use a cachebusted URL for CSS. However
when you make a change to a Sass file, Sass will only create a file
called spotlight.css which means you won't see the changes you've
just made (as your view is still using the old cachebusted file).

This change means that in development, the asset digest is still
used but the cachebusted filename is equal to the non-cachebusted
filename. So you can go and edit Sass files to your heart's content
and see the changes without restarting the server.

Happy New Year! :fireworks: