Reloading script-only stacks

Trevor DeVore lists at
Mon Jan 29 13:32:46 EST 2018

On Sat, Jan 27, 2018 at 10:17 AM, Mike Kerner via use-livecode <
use-livecode at> wrote:

> Check with Trevor - in Levure he waits for a signal on a port that ST sends
> when there is a save and then magically reloads.

The way the Levure/SublimeText integration works is as follows:

- If the LiveCode language plugin for Sublime Text is installed a Sublime
Text project can be configured to send a notification over a local port
every time a LiveCode file is saved in Sublime Text. The notification
includes the stack name as well as the stack file path.
- A plugin running in LiveCode listens for notifications on the local port.
When a notification is received the plugin checks to see if a stack with a
matching name and file path is loaded in memory. If it is then the stack
script is reloaded.

Trevor DeVore

More information about the use-livecode mailing list