I started throwing together a Gideros build package for Sublime Text with hopes to one day have a complete IDE alternative to Gideros Studio and ZeroBrane.
I'm interfacing with gdrbridge via Python subprocess and have the current functionality working:
With project open in Sublime:
- Set IP address for target player
- Run project @ target IP
- *Output to Sublime console
Here's my question:
The current output to console functionality is a infinite while loop that calls gdrbridge getlog, then prints to Sublime console if needed:
sleep = 1 / 60
log = getLog()
Is there a better way to go about this? This is new territory for me and not sure if there are more efficient methods for this kind of thing.