Add ResourceCollection to burst cache when debug is true and files have changed