tomoki1207 / vscode-pdfviewer

Show PDF preview in VSCode.
https://marketplace.visualstudio.com/items/tomoki1207.pdf
Other
287 stars 68 forks source link

PDF viewer not refreshing on file change #151

Open zomborid opened 1 year ago

zomborid commented 1 year ago

I have to close and reopen PDFs to refresh the content. When I open document statistic in the extension it shows the data of the latest PDF version. Both creation and modification date is changing correctly. I'm generating with latex using a makefile setup, although this should not matter I think.

Other files refresh normally. I have autosave enabled, I don't know if this matters.

System

OS: Linux Mint 21.1 VSCode is up to date Extension is up to date

axiopaladin commented 8 months ago

Does anyone know if there's a way to set some kind of watcher task to automatically force a panel reload? It wouldn't be quite as elegant as if it were a built-in feature, but it might be better than nothing

zomborid commented 8 months ago

I have no idea. As a workaround I am using Okular to look at PDFs, it reloads them quite nicely, even in the middle of a compilation task.

raenye commented 1 month ago

Maybe something like this? https://github.com/James-Yu/LaTeX-Workshop/pull/1928