Hi, working with css in frontend folder is quite slow, i have to rebuild and redeploy the app for each change, is there a way to speed up the development?
Fot instance inject the css as was possible in vaadin 8, is it possible also in vaadin 14?
Normally in Vaadin 14, if you run the application in dev mode your css file should be automatically refreshed.
I tried with the Plain Java Starter and it’s working. I don’t need to restart the server. (If you add @CssImport you need to restart).
Perhaps I don’t understand your question or you have a different setup. Do you have the same problem with your javascript files?
I’m using @CssImport(“./styles/shared-styles.css”)
So this annotation is not the problem. I’m running the project with mvn jetty:run goal (it’s also working with spring-boot). Are you running the application in development mode?