Ensure web resource generated from local content is correctly updated during preparation