Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Preview PDF not updated #1686

Open
1 of 3 tasks
Scofield626 opened this issue Jan 5, 2025 · 1 comment
Open
1 of 3 tasks

[Bug]: Preview PDF not updated #1686

Scofield626 opened this issue Jan 5, 2025 · 1 comment
Labels
bug Something isn't working triage Needs triage

Comments

@Scofield626
Copy link

Scofield626 commented Jan 5, 2025

Current Behavior

The changed PDF in Files Preview blocks (or via wsh view <pdf>) is not updated, showing the old contents.
The preview seems to cache the old one. Even when I deleted the pdf and re-built a new one, the old one is displayed.
Only when I quit the Wave and re-launch it, the PDF preview is updated.

Expected Behavior

The preview show the latest file content.

Steps To Reproduce

A quick way to reproduce:

  1. compile a tex file to a pdf.
  2. make text changes and recompile
  3. check the PDF preview

Wave Version

v0.10.4

Platform

macOS

OS Version/Distribution

Sonoma 14.7.2

Architecture

arm64

Anything else?

No response

Questionnaire

  • I'm interested in fixing this myself but don't know where to start
  • I would like to fix and I have a solution
  • I don't have time to fix this right now, but maybe later
@Scofield626 Scofield626 added bug Something isn't working triage Needs triage labels Jan 5, 2025
@esimkowitz
Copy link
Member

we don't currently have file watchers implemented for the preview widget so changes you make in an app outside of Wave will not be reflected until you open the preview again. We're looking to address this soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Needs triage
Projects
None yet
Development

No branches or pull requests

2 participants