내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

Javascript code is not updating

Avatar

Level 2

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.

3 답변 개

Avatar

Employee

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

Avatar

Level 4

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

Avatar

Level 9

Hi Salman,

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

Thanks,