I didn't change anything, it just stopped updating. All I did change was add some new fields to a form.
I was able to resolve the issue by deleting the generated file and re-loading it from a backup. After doing that I re-opened the resource file and saved it, this updated the document no problem.