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

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
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
Highlighted

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.

Software Engineer in Alfresco Search Team.
Highlighted
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?

Highlighted

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

jrebel is the only I know.

Software Engineer in Alfresco Search Team.
Highlighted
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.