Fix: uvicorn reloading when python files in workspace change, & started section for debugging instructions for developers (#4041)

Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
This commit is contained in:
tofarr
2024-09-26 08:57:37 -06:00
committed by GitHub
parent e03855cd7f
commit 01317138e2
3 changed files with 76 additions and 1 deletions

View File

@@ -190,7 +190,7 @@ build-frontend:
# Start backend
start-backend:
@echo "$(YELLOW)Starting backend...$(RESET)"
@poetry run uvicorn openhands.server.listen:app --host $(BACKEND_HOST) --port $(BACKEND_PORT) --reload --reload-exclude "workspace/*"
@poetry run uvicorn openhands.server.listen:app --host $(BACKEND_HOST) --port $(BACKEND_PORT) --reload --reload-exclude "$(shell pwd)/workspace"
# Start frontend
start-frontend: