Skip to content

πŸ™Œ OpenHands: AI-Driven Development

fix: make run conditional logs removal (#579)

ncrypted | Oliver801417dcbf3f
diff --git a/Makefile b/Makefile
index 1a4044d13c..ffc05d8180 100644
--- a/Makefile
+++ b/Makefile
@@ -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)