LitElement in Vaadin 24

Hello, where do I have to place Lit Elements in the frontend folder so that Live Reloading works for JS files?

You need to enable hotdeploy mode, which is off by default in 24

but then i lost the advantages of the fast build times of vaadin 24 right?

It will work like 23

is there no possibility to use live reload without the Vite server?

No, the lit templates are part of the JS bundle. Vite provides hot reload for that

I think there might be an issue to improve lit template support, so that they would work better without Vite. Otherwise you can create one

Okay thank you, then I just have to activate hotdeploy every time I work with frontend files. doesn’t happen that often anyway