tomoki1207 / vscode-pdfviewer

Show PDF preview in VSCode.

Home Page:https://marketplace.visualstudio.com/items/tomoki1207.pdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PDF viewer not refreshing on file change

zomborid opened this issue · comments

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

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

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.

Maybe something like this?
James-Yu/LaTeX-Workshop#1928