feat: added debug option in make dev

This commit is contained in:
Gabriel Almeida 2023-04-04 19:19:41 -03:00
commit 743e935bec
2 changed files with 34 additions and 5 deletions

View file

@ -40,16 +40,17 @@ build:
rm -rf src/backend/langflow/frontend
dev:
make install_frontend
make install_frontend
ifeq ($(build),1)
@echo 'Running docker compose up with build'
docker compose up --build
@echo 'Running docker compose up with build'
docker compose up $(if $(debug),-f docker-compose.debug.yml) --build
else
@echo 'Running docker compose up without build'
docker compose up
@echo 'Running docker compose up without build'
docker compose up $(if $(debug),-f docker-compose.debug.yml)
endif
publish:
make build
poetry publish