mirror of
https://github.com/karma-riuk/crab-webapp.git
synced 2025-07-05 14:18:12 +02:00
server now reloads once it detects a change in the
files
This commit is contained in:
@ -48,4 +48,9 @@ socketio = init_socketio(app)
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
port = int(os.getenv('PORT', 45003))
|
port = int(os.getenv('PORT', 45003))
|
||||||
socketio.run(app, host="0.0.0.0", port=port)
|
socketio.run(
|
||||||
|
app,
|
||||||
|
use_reloader=True,
|
||||||
|
host="0.0.0.0",
|
||||||
|
port=port,
|
||||||
|
)
|
||||||
|
Reference in New Issue
Block a user