The issue when generating pdf, after a while other routes, will displays the geenrated pdf instead of their actually content.
To avoid that it requires to re-start the server to rid the issue, please have a look into it, might it caching the puppeeter's last page untill generating the new one!