Forcing webassets to really rebuild files. #2596
I've experiencing a problem with assets bundling: if I create a bundle out of CSS files which are all generated by a plugin, the following happens:
So the result is an empty (unchanged) CSS bundle file, even though the input files changed (they are not empty), which is clearly wrong.
From the webassets source, I extracted a way to force it to rebuild the bundles. If that doesn't work in some cases, we could also simply delete the output file before asking it to rebuild; that should have the same result.