cancel
Showing results for 
Search instead for 
Did you mean: 

How to HotReload resources (js,css…)in alfresco sdk 3.0

zucco1411
Champ in-the-making
Champ in-the-making

I'm developing a web application using alfresco sdk 3.0 repository. Thanks to hotswapagent i can reload java classes without restarting the server. But when i make changes to the css,js files in the src/main/resources/META-INF/resources, to see the changes i have to restart the alfresco server.

I know that with jrebel i could solve the problem, but I wanted to find an alternative.

I don't understand if it's an alfresco configuration problem or if I need to install new software to be able to do the resources file horeload. i use eclipse IDE, and i've imported a alfresco sdk 3.0 repository jar project with maven.

4 REPLIES 4

angelborroy
Community Manager Community Manager
Community Manager

I never was able to get that working with HotSwap. Afaik, it's broken.

Hyland Developer Evangelist

Me too, with HotSwapAgent i wasn't able to get it. In fact i was looking for an alternative solution (which is not jrebel)? can you help me?

jrebel is the only I know.

Hyland Developer Evangelist

douglascrp
World-Class Innovator
World-Class Innovator

AFAIK, the hot reload of client side code never worked.

But when you talk about the share project, its restart is so quick that I think hot reload for it would be not necessary at all.

This is the main reason I always use different projects for repo and share.