Skip to content

Commit

Permalink
build: when running in dev mode, reload the poetry server whenever a … (
Browse files Browse the repository at this point in the history
All-Hands-AI#1323)

* build: when running in dev mode, reload the poetry server whenever a file changes

* only reload for specific directories

---------

Co-authored-by: Jim Su <jimsu@protonmail.com>
  • Loading branch information
Sparkier and yimothysu committed Apr 24, 2024
1 parent 9b48f63 commit dc73954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ build-frontend:
# Start backend
start-backend:
@echo "$(YELLOW)Starting backend...$(RESET)"
@poetry run uvicorn opendevin.server.listen:app --port $(BACKEND_PORT)
@poetry run uvicorn opendevin.server.listen:app --port $(BACKEND_PORT) --reload --reload-dir opendevin --reload-dir agenthub --reload-dir evaluation

# Start frontend
start-frontend:
Expand Down

0 comments on commit dc73954

Please sign in to comment.