Example #1
0
 def _process_IN_MODIFY(self, event):
     print("file '%s' changed, restarting..." % event.pathname)
     _engine.restart()
Example #2
0
 def _process_IN_MODIFY(self, event):
     print("file '%s' changed, restarting..." % event.pathname)
     _engine.restart()
Example #3
0
 def restart_cb(self, path, args):
     _engine.restart()
Example #4
0
 def restart_cb(self, path, args):
     _engine.restart()
Example #5
0
def Restart():
    """
    Call :func:`.engine.restart()`.
    """
    return _Call(lambda ev: _engine.restart())
Example #6
0
def Restart():
    """
    Call :func:`.engine.restart()`.
    """
    return _Call(lambda ev: _engine.restart())