Alexis Bruneteau
fbb7bc3991
feat: Add development mode for Next.js frontend with hot reload and verbose logging
Add comprehensive development setup for frontend debugging and rapid iteration.
FEATURES:
✓ Hot Module Reload (HMR) - auto-refresh on file changes
✓ Detailed Logging - all console logs visible in Docker output
✓ TypeScript Checking - real-time type validation
✓ Source Maps - easier debugging in DevTools
✓ Fast Iteration - no container rebuild needed for code changes
FILES ADDED:
- docker-compose.dev.yml - compose override with dev-specific settings
- docker/Dockerfile.frontend.dev - updated with dev environment variables
- dev-mode.sh - helper script with easy commands
- DEV_MODE.md - comprehensive development guide
- QUICK_DEV_START.md - quick start instructions
USAGE:
./dev-mode.sh start # Start frontend in dev mode
./dev-mode.sh logs # Stream frontend logs
./dev-mode.sh logs-all # Stream all services logs
./dev-mode.sh stop # Stop development mode
./dev-mode.sh rebuild # Rebuild after package.json changes
./dev-mode.sh shell # Open shell in container
./dev-mode.sh status # Check container status
BENEFITS:
- Faster feedback loop during development
- Better debugging with detailed logs
- No production artifacts in dev container
- Source code mounted for real-time updates
- Improved developer experience
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-07 19:19:57 +01:00
..
2025-11-07 03:32:08 +01:00
2025-11-07 02:09:07 +01:00
2025-11-07 16:35:44 +01:00
2025-11-06 17:42:20 +01:00
2025-11-07 19:19:57 +01:00
2025-11-07 16:35:44 +01:00
2025-11-07 16:35:44 +01:00
2025-11-03 16:13:08 +01:00
2025-11-07 02:39:17 +01:00
2025-11-06 05:12:03 +01:00