Relative Content

Tag Archive for pythonfastapipython-watchdog

Watch for file changes and send the data through websocket

I have an endpoint in my python fast api and whenver the frontend connects to it, I want to listen for changes on a specific file stored in the temporary directory of the system. I am using watch dog, but I am not able to make it work it, its just not sending any message on changes :-