"""
WSGI script run on Heroku using gunicorn.
Exposes the app and configures it to use Heroku environment vars.
"""
import os
from suddendev import create_app, socketio

app = create_app()

if __name__ == '__main__':
    app.run()

"""
WSGI script run on Heroku using gunicorn.
Exposes the app and configures it to use Heroku environment vars.
"""
import os
from suddendev import create_app, socketio

app = create_app()

if __name__ == '__main__':
    socketio.run(app)

Change to socketio.run() so WebSockets work on local runs.
[NG] Change to socketio.run() so WebSockets work on local runs.
