davestewart / nuxt-content-assets

Enable locally-located assets in Nuxt Content
https://npmjs.com/package/nuxt-content-assets
108 stars 7 forks source link

Live reload does not work with Nuxt Image #77

Open davestewart opened 2 months ago

davestewart commented 2 months ago

Description

Live reload currently does not seem to work with Nuxt Image.

If you edit an image, it reloads for normal images, but not when they're Nuxt Images.

Context

If you refresh the <img> element manually, such as img.src = img.src it does reload.

Nuxt Image appears to serve the image from the original folder, so it seems that the issue is maybe something to do with the watch not referencing the updated path, or something.