def _process_IN_MODIFY(self, event): print("file '%s' changed, restarting..." % event.pathname) _engine.restart()
def restart_cb(self, path, args): _engine.restart()
def Restart(): """ Call :func:`.engine.restart()`. """ return _Call(lambda ev: _engine.restart())