View Full Version : Reload Extjs module without full-reload page.

26 Mar 2017, 10:24 PM
Dear all,
I am using ExtJs Loader to dynamic load Ext modules.
It' means that, the first time when a window opened, ExtJs Loader loads the content of module (a js file).
After that, whenever this window is called, ExtJs no need to loads the content of module again.
That behavior is good in production mode.

But in the development mode, whenever I update module (js file), I have to full reload web page to make new code work.
So my question is: How to force ExtJs alway reload the js file, when window (which is attached to this module) open.

My idea is when a window closed, all it's registered modules, classes, script are destroyed.
I have tried but could not solve problem my self.

I hope anyone can help me.
Thank you so much.

27 Mar 2017, 7:39 PM
Anyone help me?

29 Mar 2017, 1:14 AM
Anybody, pls give me your hand