Commit Graph

2 Commits

Author SHA1 Message Date
echoyolo6 621b36bf67 refactor: use wait-for-port.sh instead of hardcoded sleep in daemon script 2026-03-11 09:39:31 +08:00
zhh e4f6c3ff02 feat: add dev-daemon target for background development mode
Add a new make dev-daemon target that allows running DeerFlow services
in background mode without keeping the terminal connection.

Following the pattern of PR #1042, the implementation uses a dedicated
shell script (scripts/start-daemon.sh) for better maintainability.

- Create scripts/start-daemon.sh for daemon mode startup
- Add dev-daemon target to Makefile
- Each service writes logs to separate files (langgraph, gateway, frontend, nginx)
- Services can be stopped with make stop
- Use nohup for proper daemon process detachment
- Add cleanup on failure when services fail to start
- Use more specific pkill pattern to avoid killing unrelated nginx processes
2026-03-10 09:14:37 +08:00