Frequent building of clientlibs folder | Community
Skip to main content
Arun_Chola
Level 2
October 16, 2015
Solved

Frequent building of clientlibs folder

  • October 16, 2015
  • 4 replies
  • 1161 views

Hi,

This issue is related to frequent building of client lib folder in adobe cq5.

Whenever i updating the code in js and css file, the changes are not reflected as soon as saving the related js and css file.

i have to do this url http://server:port//libs/granite/ui/content/dumplibs.rebuild.html.

After clicking the "rebuild libraries" button, then only my changes are updated in the html file.

Can i have to configure any file to bypass this process or do i have to build every time ?

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

Dave Hughes wrote...

My project has found that we need to periodically build clientlibs also, though not as frequently as the OP described.  We are using 5.6.1.

We have struggled to create a development workflow for this, as we can't determine the events or conditions that make a clientlib rebuild necessary.  Is there any useful documentation about rebuilding clientlibs and what makes doing so necessary?

 


Hi Dave,    I would treat this as bug. Please file daycare with exact steps & logs to investigate.  I could not reproduce on 5.6.1 might me some edge case. For rebuilding delete the files at /var/clientlibs/*

4 replies

Sham_HC
Level 10
October 16, 2015

You do not have to build every time. Which version of aem?

October 16, 2015

My project has found that we need to periodically build clientlibs also, though not as frequently as the OP described.  We are using 5.6.1.

We have struggled to create a development workflow for this, as we can't determine the events or conditions that make a clientlib rebuild necessary.  Is there any useful documentation about rebuilding clientlibs and what makes doing so necessary?

Arun_Chola
Level 2
October 16, 2015

I am using AEM 5.6.0 version and It's a war file.

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

Dave Hughes wrote...

My project has found that we need to periodically build clientlibs also, though not as frequently as the OP described.  We are using 5.6.1.

We have struggled to create a development workflow for this, as we can't determine the events or conditions that make a clientlib rebuild necessary.  Is there any useful documentation about rebuilding clientlibs and what makes doing so necessary?

 


Hi Dave,    I would treat this as bug. Please file daycare with exact steps & logs to investigate.  I could not reproduce on 5.6.1 might me some edge case. For rebuilding delete the files at /var/clientlibs/*