Monitor subdirectories for changed files #6318
-
DescriptionQuarto newbie question. I created a new I'm using VS Code with the Quarto extension. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Quarto only watches needed resources, it's not really about directories. |
Beta Was this translation helpful? Give feedback.
-
Ok, I found a way for now. The quarto extension has a hard-coded command line argument |
Beta Was this translation helpful? Give feedback.
-
The reason we force If you use the |
Beta Was this translation helpful? Give feedback.
The reason we force
--no-watch-inputs
is that the VS Code extension does explicit rendering of documents (either vis Render or Render on Save). If the preview server were also auto-rendering on changes then you would get a double render (which for some documents could be very expensive). That said, we may have subsequently put in protection against double renders so it might appear to work w/o troubles when you comment that out.If you use the
render-on-save
option in VS Code then you more or less get the behavior you want. The only thing it doesn't do is automatically detect changes to documents that are not currently active in the preview window. You could get this to work by just running