flask-sock
flask-sock copied to clipboard
work with watchdog
I want to monitoring file changes using watchdog, my question is how to send message when there is no decorator such as @sock.route('/')
I'm not sure I understand your question. To have a WebSocket connection you must create a WebSocket route using the decorator.