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

Quarto extension doesn't watch inputs when previewing in web-based VSCode instance (code-server) #550

Open
jkrumbiegel opened this issue Sep 23, 2024 · 1 comment

Comments

@jkrumbiegel
Copy link

This web-based VSCode instance I'm using runs on a proprietary platform which cannot show quarto previews in an internal window. That is fine, the platform itself has a feature to expose opening ports in separate browser tabs, so I can open a tab with the quarto preview once quarto sets up that network connection.

What's weird, though, is that quarto seems to always set --no-watch-inputs in the terminal that opens, for example:

quarto preview /home/jrun/data/code/test.qmd --no-browser --no-watch-inputs

I'm finding no available setting in the extension to control watching behavior for previews, but from a local VSCode I'm used to the watching-by-default behavior.

If I run quarto's terminal command myself without the --no-watch-inputs, watching works fine and the separate tab with the preview updates as expected.

Quarto extension version: v1.115.0

code-server: v4.23.0
Code: 1.88.0
Commit: 0cca7c67a4aba0e8ce199df0fdc59b64fc659fbc
Date: 2024-04-05T22:24:44.781Z (5 mos ago)
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:127.0) Gecko/20100101 Firefox/127.0

@andreasnoack
Copy link

I just hit this locally as well with version 1.116.0. If I manually run the command without the --no-watch-inputs flag then the preview updates as expected. Also, when the --no-watch-inputs flag is set, it seems misleading to print Watching files for changes in the terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants