fix: make run conditional logs removal (#579)

* fix: make run conditional logs removal

* fix: make run fail-safe logs & pipe management
This commit is contained in:
ncrypted | Oliver 2024-04-02 22:50:13 +02:00 committed by GitHub
parent 22a9a28e46
commit 801417dcbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,7 +31,8 @@ start-frontend:
# Run the app
run:
@echo "Running the app..."
@rm logs/pipe
@mkdir -p logs
@rm -f logs/pipe
@mkfifo logs/pipe
@cat logs/pipe | (make start-backend) &
@echo 'test' | tee logs/pipe | (make start-frontend)