Can anyone tell me what causes/triggers Squishit to rebuild a bundle in production mode?
For example, if I create the following bundle, the file 'Site.Master_{GUID}.css' is created as expected.
<%= Bundle.Css()
.Add("~/css/reset.css")
.Add("~/css/typography.css")
.Add("~/css/styles.css")
.Add("~/MasterPages/Site.Master.css")
.Render("~/Cache/Site.Master_#.css")
%>
But if I delete the file bundle file it does not get re-created. I have found, by trial and error, that if I change the web.config file to
<compilation debug="true" targetFramework="4.0" />
and then back to false
<compilation debug="false" targetFramework="4.0" />
the next time the page is requested then the bundle is rebuilt, but I would like to know:
a) how Squishit decides whether the particular bundle should be built or rebuilt
b) if there is a recognised way of resetting Squishit to rebuild all the bundles - after a cache clean-out or site update for example.
Thanks.