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

cancel
Showing results for 
Search instead for 
Did you mean: 
zucco1411
Member II

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

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
angelborroy
Alfresco Employee

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

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

Hyland Developer Evangelist
zucco1411
Member II

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

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?

angelborroy
Alfresco Employee

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

jrebel is the only I know.

Hyland Developer Evangelist
douglascrp
Advanced II

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

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.