Thread:Talk:ResourceLoader/After an edit without my magic word, my script JS disappears

Hi

I'm developing an extension with ResourceLoader. I load the script JS in the render of my magic word.

It works but when I change a page in my Wiki without my magic word, ResourceLoader forget my script JS. I have to purge the page with my magic word to see my script in ResourceLoader.

Have I forgotten something ? The "$wgOut->addModules(" is not in the good function ?

Thanks