isaac icon indicating copy to clipboard operation
isaac copied to clipboard

Reloading

Open vangberg opened this issue 15 years ago • 4 comments

Reloading in development mode would be really nice. The process of disconnecting/reconnecting gets really boring. Kthx.

vangberg avatar May 29 '09 20:05 vangberg

Also it gets me (g|k)lined all the time. Some networks are anal about constant connections.

nickmartini avatar May 29 '09 21:05 nickmartini

Actually, that was easier than I thought. Check the reload-branch: http://github.com/ichverstehe/isaac/tree/reload

configure do |c|
  c.reload = true
end

and your event handler will be reloaded at every event. This assumes that the event handlers are specified in the file that is being executed. Also, might just be buggy, but my small tests shows it as working.

When I have some tests written for this it will go in master. Please return with any feedback :)

vangberg avatar May 29 '09 22:05 vangberg

What's the word with this being merged to master?

jdp avatar Mar 15 '10 23:03 jdp

Has there been any progress on writing tests for this?

apotheon avatar Feb 18 '11 22:02 apotheon