Skip to content

Commit 3f00c3d

Browse files
committed
fix: add PATH modification for dev-run-server to find development plugin
The development plugin needs to be in PATH for the system to find it. Add project bin directory to PATH when running in development mode.
1 parent 6f4cad9 commit 3f00c3d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/make/run.mk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@ dev-restore-ai-plugin:
5555

5656
.PHONY: dev-run-server
5757
dev-run-server: ## Run server in development mode with latest AI plugin
58-
dev-run-server: build-ui dev-build-ai-plugin run-backend
58+
dev-run-server: build-ui dev-build-ai-plugin dev-run-backend
59+
60+
dev-run-backend:
61+
PATH="$(shell pwd)/bin:$$PATH" go run . server --local-storage 'bin/*.yaml' --console-path ${ATEST_UI}/dist \
62+
--extension-registry ghcr.io --download-timeout 10m
5963

6064
.PHONY: run-server
6165
run-server: ## Run the API Testing server (production mode)

0 commit comments

Comments
 (0)