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

Resource files are not watched in preview mode #3185

Open
Tracked by #8700
bryanhanson opened this issue Nov 5, 2022 · 6 comments
Open
Tracked by #8700

Resource files are not watched in preview mode #3185

bryanhanson opened this issue Nov 5, 2022 · 6 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@bryanhanson
Copy link

bryanhanson commented Nov 5, 2022

Bug description

Using a build obtained an hour ago via git pull followed by ./configure.sh, on Mac, editing in VSCode, watching with Firefox.

I was adding the subscription feature to my blog. I added a subscribe.html file and was playing with it. Loaded the blog with quarto preview at the command line. I noticed that when editing and saving subscribe.html changes do not force an update of the preview in the browser. I guess this means that subscribe.html is not among the files monitored for changes during preview, and it would be easier if it were.

Holler if you need more info but I don't this is related to my particular files.

@bryanhanson bryanhanson added the bug Something isn't working label Nov 5, 2022
@cscheid cscheid added enhancement New feature or request and removed bug Something isn't working labels Nov 16, 2022
@cscheid cscheid added this to the v1.3 milestone Nov 16, 2022
@cscheid cscheid self-assigned this Nov 16, 2022
@cscheid cscheid changed the title subscribe.html is not watched while in preview mode Resource files are not watched in preview mode Nov 16, 2022
@bryanhanson
Copy link
Author

Noticed the same problem with .bib files. If only the .bib file is changed, the preview is not updated (did not test with a blog structure, just a simple html document).

@cscheid
Copy link
Collaborator

cscheid commented Feb 28, 2023

Unfortunately, this is a bigger project than I thought at the time I opened the issue, so I'm pushing the change to 1.4.

@cscheid cscheid modified the milestones: v1.3, v1.4 Feb 28, 2023
@AlbertRapp
Copy link

I just came across a similar problem: Changes in theme.scss are also not watched. Interestingly, with the Quarto blog I've created changes in the SCSS files are watched just fine.

@danieltomasz
Copy link

This option would be great (maybe even with specified list of watched files as workaround)
I have quarto project thesis, apart of main files included with Quarto

book:
   chapters:
     - chapter1.qmd

I have several markdown files that I include in files using
{{< include file.md >}}

I suppose the same would help with figures and tables included as separate resource files

@petrbouchal
Copy link

Also true for .ejs files

@cscheid
Copy link
Collaborator

cscheid commented Sep 5, 2023

See #6518 .

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

No branches or pull requests

5 participants