JS reload at runtime.

I looked briefly but did not find anything. Is there a way to get Echo to send up the javascript each time a component is initialized? This would be ideal for debugging client-side component code without requiring an application/container restart.

If anyone has some good solutions, I'd like to hear those too.

Thanks,
Oro.

rakesh's picture

Client side code is best

Client side code is best developed and debugged through a client-only test application. All you have to do is refresh the test page in your browser.

How would can I do that if

How would can I do that if the sync peer is not an ARC peer? Just change the sync peer to extend the ARC sync peer instead?

Oroborous
http://rpgworkbench.blogspot.com

rakesh's picture

If your client side code

If your client side code requires client-server interaction, it is a bit more difficult. That however does not mean that the normal techniques you use in server side testing do not apply. I personally prefer to mock things up and get my client side code all cleared up before I start working on the server-side implementation. For most Echo3 components, the server-side implementations are just repetitive boilerplate code.