Giter Site home page Giter Site logo

Comments (3)

emiloberg avatar emiloberg commented on August 17, 2024

I'd very much recommend using JRebel for that kind of stuff. It has a price tag but it's really worth it.

However. To answer your question: Maybe, I don't really know. You might want to try this:

First, make sure your portal-ext.properties has all the "developer settings" to make sure you cache as little as possible. Copy something along these lines into your portal-ext.properties.

theme.css.fast.load=false
theme.images.fast.load=false
javascript.fast.load=false
javascript.log.enabled=false
layout.template.cache.enabled=false
browser.launcher.url=
freemarker.engine.cache.storage=soft:1
freemarker.engine.modification.check.interval=0
openoffice.cache.enabled=false
velocity.engine.resource.manager.cache.enabled=false
com.liferay.portal.servlet.filters.cache.CacheFilter=false
com.liferay.portal.servlet.filters.themepreview.ThemePreviewFilter=true
yui.compressor.js.verbose=true
yui.compressor.css.line.break=1
velocity.engine.restricted.classes=
velocity.engine.restricted.variables=
freemarker.engine.restricted.classes=
freemarker.engine.restricted.variables=

If that's not working. You might want to touch (or any other way) update the portlet's WEB-INF/web.xml to trigger a redeploy. Try doing a change, copy the files to the server and then edit the web.xml on the server (just change some non-breaking value) and see if that triggers a redeploy. If so, then you can modify the

It's pretty much what this script is doing when you're changing a scss file - it updates the custom.css so that Liferay understands that it has changed. See: https://github.com/emiloberg/Liferay-Instant-Deploy-Theme-Changes-Gulp-Script/blob/master/gulpfile.js#L44-L49

But as said: JRebel is the way to go. Not waiting for redeploys will get you those $365 back in no time. (Disclosure: I'm not affiliated with JRebel in any way, actually not using it myself as I don't do portlet programming. However, all my "real" ;) programmers are.)

from liferay-instant-deploy-theme-changes-gulp-script.

emiloberg avatar emiloberg commented on August 17, 2024

Closing because of inactivity.

from liferay-instant-deploy-theme-changes-gulp-script.

crisp2u avatar crisp2u commented on August 17, 2024

Thanks, I'm using it myself, but I was trying to find a solution for other front-end guys that we have working with liferay :-) Especially that most of them don't use "real" Java IDEs :-)

from liferay-instant-deploy-theme-changes-gulp-script.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.