Elderjs / plugins

Elder.js plugins and community plugins.
https://elderguide.com/tech/elderjs/
MIT License
80 stars 20 forks source link

Esbuild and Images plugin #140

Open MichaelEPope opened 2 years ago

MichaelEPope commented 2 years ago

Hey, I know that the esbuild run option isn't out of beta, but I wanted to let you know that for some reason, the image plugin currently gets the reload-on-file-change stuck somewhere. I'm not quite sure where it's breaking, so I'll do some more exploration.

image

(Gets stuck after it prints 'minifying css and adding sourcemaps took 19ms)

Thanks for the great tool :).

MichaelEPope commented 2 years ago

I've determined a few things.

1) If you modify the .js files, it reloads just fine. 2) If you modify the .svelte files in components, it reloads just fine. 3) If you modify the .svelte files in layouts, it fails to reload. 4) If you modify the .svelte files in routes, it fails to reload. 5) npm run start has the same issues.