prompty icon indicating copy to clipboard operation
prompty copied to clipboard

[bug] [vs extension] Preview does not refresh when using external sample file

Open injeniero opened this issue 1 year ago • 1 comments

Preview does not refresh when sample is pointing to another file and a change is made in that file. Example:

...
sample: ${file:sample_1.json}

---
user:
Some prompt with a {{variable}} from sample_1.json file.

sample_1.json

{"variable": "name"}

If you then change the value to "Name", it won't show up in the preview.

injeniero avatar Dec 19 '24 19:12 injeniero

Yeah - for some reason it only updates when the virtual document is changed. I will look into it.

sethjuarez avatar Jan 09 '25 17:01 sethjuarez