Skip to content
Discussion options

You must be logged in to vote

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

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@cderv
Comment options

@mcanouil
Comment options

@m-guggenmos
Comment options

@mcanouil
Comment options

Comment options

You must be logged in to vote
1 reply
@m-guggenmos
Comment options

Answer selected by m-guggenmos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
websites Issues creating websites vscode
4 participants