Skip to content

Conversation

@mtsz-pl
Copy link

@mtsz-pl mtsz-pl commented Nov 19, 2025

build(dev): add live development environment with cargo-watch

  • Add Dockerfile.dev with cargo-watch for automatic recompilation on file changes
  • Configure compose.dev.yaml with read-only volume mounts for source code
  • Use Docker volumes for build artifacts to keep host filesystem clean
  • Enable RUST_LOG=debug for development logging
  • Update comment to use modern 'docker compose' syntax

Development workflow:

  • Start: docker compose -f compose.dev.yaml up --build
  • Edit code and cargo-watch automatically recompiles
  • No manual rebuilds or restarts needed

Fixes #313 - probably

@mtsz-pl mtsz-pl marked this pull request as draft November 19, 2025 20:02
@mtsz-pl mtsz-pl changed the title build: make compose.dev.yaml build from source build(dev): add Dockerfile.dev and update compose.dev.yaml to build from source Nov 19, 2025
@mtsz-pl mtsz-pl marked this pull request as ready for review November 19, 2025 20:08
- Add Dockerfile.dev with cargo-watch for automatic recompilation on file changes
- Configure compose.dev.yaml with read-only volume mounts for source code
- Use Docker volumes for build artifacts to keep host filesystem clean
- Enable RUST_LOG=debug for development logging
- Update comment to use modern 'docker compose' syntax

Development workflow:
- Start: docker compose -f compose.dev.yaml up --build
- Edit code and cargo-watch automatically recompiles
- No manual rebuilds or restarts needed
@mtsz-pl mtsz-pl changed the title build(dev): add Dockerfile.dev and update compose.dev.yaml to build from source build(dev): add live development environment with cargo-watch Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 Bug Report: About the Dockerfile

1 participant