It is found that Viewer didn't get update after Document published in Editor.
This issue only occurs when Docs integrate with 3rd Party Cloud repository,
Viewer will compare document meta between Repository and Viewer cache.
If the meta are the same, then Viewer would not get updated.
If the meta are NOT the same, then Viewer will pull content from repository, then Conversion would convert it and display in Viewer.
Modify your code, when document got published, update the meta and let it be different with old ones.