Copy the HTML templates (Thymeleaf or whatever template engine is used) when the Vite Dev Server is running when they change. Write a file containing the host and port that the Vite Dev Server is ...