Jun 26, 2019 12:24:24 PM com.vaadin.server.VaadinServlet serveOnTheFlyCompiledScss
INFO: Request for /VAADIN/themes/mobiwms/styles.css not handled by sass compiler while in production mode
Picture of wrong looking website, running in production mode, with jetty:run-exploded -Pproduction:
Picture of good looking website, in dev mode with mvn jetty:run:
And finally, the good looking website, in dev mode, with jetty:run-exploded:
So if you are right, if I do a mvn clean package ( not production mode ), the corresponding war file should have the same problem as mvn clean package -Pproduction, shouldn’t it?
Of course, if I wanted the dev mode, I had to do mvn clean again, which is fine.
For whatever reason, whenever I “build theme” via eclipse, it causes eclipse to not like my pom. Simply running Maven->Update Project fixes this issue. No idea what caused it.
Now, I am confused as to why this is not a problem with dev mode war file, but I guess this is not a show stopper, so ignoring for now.
Update: mvn clean vaadin:update-theme -U package -Pproduction does not work. So far, I have to do each step separately, cannot do it in one mvn command. Not sure why, but the 3 steps are pretty easy, plus “Update Project” step.