johnknoop / vscode-handlebars-preview

Preview Handlebars templates in VS Code
MIT License
16 stars 10 forks source link

Partials don't reload on save #51

Closed EmperorAndross closed 2 years ago

EmperorAndross commented 2 years ago

We're having an issue with the preview not refreshing when a partial is changed. The template update works exactly as advertised, however, the only way we can get a partial to update is to close VS Code, and then reopen it and show the preview again. Nothing else seems to work. This makes development quite tedious. This behaviour is the same on three different computers with different VS code setups.

johnknoop commented 2 years ago

Hi @EmperorAndross

I can verify what you are seeing. This is definitely a regression. Hard to tell when this stopped working as I don't use the extension very often myself. It may be something in the underlying VS Code API that has changed. I'll look into it as soon as possible.

johnknoop commented 2 years ago

@EmperorAndross the issue is now fixed and a new version has been published to VS Code marketplace.

EmperorAndross commented 2 years ago

@johnknoop Thank you for your very quick response! Excellent update

xtrinch commented 6 months ago

This appears to once again be the case - I must close VSCode in order to register any changes in partials

johnknoop commented 5 months ago

@xtrinch

I was able to reproduce it a few weeks ago, but today when I sat down to have a look at it, I can no longer reproduce it. It must have been fixed in a subsequent VS Code update. Can you confirm?