Comments (3)
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.
Closing because of inactivity.
from liferay-instant-deploy-theme-changes-gulp-script.
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)
- Needs to ignore temporary files HOT 5
- Timing issue HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liferay-instant-deploy-theme-changes-gulp-script.