miguelgrinberg / flask-sock

Modern WebSocket support for Flask.
MIT License
277 stars 23 forks source link

work with watchdog #75

Open m872384296 opened 7 months ago

m872384296 commented 7 months ago

I want to monitoring file changes using watchdog, my question is how to send message when there is no decorator such as @sock.route('/')

miguelgrinberg commented 7 months ago

I'm not sure I understand your question. To have a WebSocket connection you must create a WebSocket route using the decorator.