Javascript code is not updating | Community
Skip to main content
salman18j
Level 2
Apr 14, 2017 11:40 AM UTC

Javascript code is not updating

I am facing one very strange issue. I have updated some JS file, but i am still getting old code. If i see file under etc/designs is updated. but compiled file under /var/clientlibs/etc/designs is old. I deleted it but again the old one coming back. Does anybody know this issue? Also tried by restarting the  Granite UI Commons (com.day.cq.cq-widgets) Bundle.

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

3 replies

MC_Stuff
Level 10
Apr 15, 2017 11:28 PM UTC

Hi Salman,

AFter clearing client libs and before restarting the widget bundle just touch the javascript files and verify.

Thanks,

Translate
vjetty
Level 4
Apr 14, 2017 4:31 PM UTC

Hi, Salman

I suggest you to use the following capabilities to resolve your issue. 

1. Invalidate the cache and rebuild your libraries using http://localhost:4502/libs/granite/ui/content/dumplibs.rebuild.html    

2. Check for the duplicate category name for your clientlibs using 

      http://localhost:4502/libs/granite/ui/content/dumplibs.html

Thanks,

Vamsi

Translate
Feike_Visser1
Employee
Apr 14, 2017 12:20 PM UTC

This is indeed strange, what version of AEM are you on?

Translate