Message Boards

Unable to update theme css on local install, on Mac

thumbnail
Fernando Fernandez, modified 3 Years ago.

Unable to update theme css on local install, on Mac

Expert Posts: 396 Join Date: 8/22/07 Recent Posts

Hi guys,

A colleague is doing some theme development on a Mac with 7.3 CE GA 6. The server is working "fine", with a very basic installation on embeded DB. Unfortunately, when my colleague deploys a new theme, the main.css being served is not updated unless we previously shutdown liferay and cleanup osgi/modules and tomcat/work (but it only works once).

What we tried without success:

  • Checked with several browsers and curl, confirmed the file is served with old contents
  • Verified the war file contents and it's fine (new contents inside)
  • Verified the existence of other copies of main.css - there's none
  • Deployed the same war file on a linux server and it's fine (new content css is served)
  • Cleared all types of cache on the server admin and browsers - no effect
  • Cleaned osgi/state and tomcat/work and it only works the first time after restart
  • Checked the node version (it was 12 and downgraded to 11)

Any ideas?

TIA

Fernando

thumbnail
Fernando Fernandez, modified 3 Years ago.

RE: Unable to update theme css on local install, on Mac (Answer)

Expert Posts: 396 Join Date: 8/22/07 Recent Posts

Problem found. Missed dev mode line in portal-ext.properties:

include-and-override=portal-developer.properties