|
|
|
@ -90,7 +90,7 @@ class Server: |
|
|
|
|
self.define_wsgi() |
|
|
|
|
self.wsgiserver.serve_forever() |
|
|
|
|
if self.restart: |
|
|
|
|
app.logger.info('RESTARTING SERVER) |
|
|
|
|
app.logger.info('RESTARTING SERVER') |
|
|
|
|
try: |
|
|
|
|
subprocess.call([sys.executable, 'start.py'], close_fds=True) |
|
|
|
|
except subprocess.CalledProcessError as e: |
|
|
|
|