Trigger "start" when scripts are reloaded.

This commit is contained in:
Aldo Cortesi 2016-07-16 10:21:00 +12:00
parent 5f23d4f5ca
commit 91e9016ce5

View File

@ -131,6 +131,7 @@ class Script:
self.should_reload.clear()
ctx.log.info("Reloading script: %s" % self.name)
self.ns = load_script(self.path, self.args)
self.start()
self.configure(self.last_options)
else:
self.run("tick")