Closed oijkn closed 2 years ago
Issue Summary When I activate the run(reloader=True) option from a virtual environment, like .venv, the bottle framework doesn't work.
.venv
Environment
To Reproduce Code to reproduce the behavior:
run(host="127.0.0.1", port=5000, debug=True, reloader=True)
Expected behavior That when we use a virtual environment, the Bottle framework can reload the code when it's modified.
Error /opt/bootle/.venv/bin/python: can't open file 'main': [Errno 2] No such file or directory
/opt/bootle/.venv/bin/python: can't open file 'main': [Errno 2] No such file or directory
Cannot reproduce. How do you start your script?
Closed due to inactivity.
Issue Summary When I activate the run(reloader=True) option from a virtual environment, like
.venv
, the bottle framework doesn't work.Environment
To Reproduce Code to reproduce the behavior:
Expected behavior That when we use a virtual environment, the Bottle framework can reload the code when it's modified.
Error
/opt/bootle/.venv/bin/python: can't open file 'main': [Errno 2] No such file or directory