bug: auto-restart function for BentoML not working on a Windows Machine
Describe the bug
I am trying to enable auto-restart on Bento-ML development server and I am not seeing any server restart upon code change.
I used this to start the service: bentoml serve service.py:service --reload
To reproduce
I ran this bentoml serve service.py:service --reload to test the auto-restart function
Expected behavior
I expect it to restart server upon code change
Environment
bentoml, version 1.0.7 python 3.7 Windows 10, hp
Basically, I think this issue is occurring for all Windows OS. I am Win8.1, Python 3.9 user and having the same issue.
@MuhammadAwon could you please try without the --reload functionality?
@ssheng Basically it is same for me, if I run the command with or without --reload. I have to stop the server and rerun it after every time I am making changes in the service.py.
@DeleMike Did you ever get a fix for this ? If so how did you resolve it ?