Make: Use air as the default for make run (#108652)

This commit is contained in:
Matheus Macabu
2025-07-25 11:32:07 +02:00
committed by GitHub
parent 6b3d8b0a30
commit c21617a446
+5 -5
View File
@@ -263,8 +263,8 @@ build-plugin-go: ## Build decoupled plugins
build: build-go build-js ## Build backend and frontend.
.PHONY: run
run: ## Build and run web server on filesystem changes. See /.bra.toml for configuration.
$(bra) run
run: ## Build and run backend, and watch for changes. See .air.toml for configuration.
$(air) -c .air.toml
.PHONY: run-go
run-go: ## Build and run web server immediately.
@@ -275,9 +275,9 @@ run-go: ## Build and run web server immediately.
run-frontend: deps-js ## Fetch js dependencies and watch frontend for rebuild
yarn start
.PHONY: run-air
run-air: ## Build and run backend, and watch for changes. See .air.toml for configuration.
$(air) -c .air.toml
.PHONY: run-bra
run-air: ## [Deprecated] Build and run web server on filesystem changes. See /.bra.toml for configuration.
$(bra) run
.PHONY: frontend-service-check
frontend-service-check: