* fix: make run conditional logs removal * fix: make run fail-safe logs & pipe management
@@ -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)