chore: add bacon config and improve dev workflow

- Add bacon.toml for Rust development watching with keybindings
- Update Justfile to use bacon for dev watching
- Configure frontend to build to ./public for backend serving
- Improve Justfile organization with comments and better task separation
- Add dev-backend and dev-frontend tasks for separate workflows
- Minor formatting fix in backend/src/state.rs
This commit is contained in:
2025-12-11 17:58:10 -06:00
parent 2532a21772
commit b4022ff9db
4 changed files with 65 additions and 15 deletions

View File

@@ -42,12 +42,8 @@ impl State {
.unwrap_or_default()
.to_string();
let key_start =
Executable::search_pattern(&data, pattern.as_bytes(), 0).ok_or_else(|| {
AppError::KeyPatternNotFound {
name: name.clone(),
}
})?;
let key_start = Executable::search_pattern(&data, pattern.as_bytes(), 0)
.ok_or_else(|| AppError::KeyPatternNotFound { name: name.clone() })?;
let key_end = key_start + pattern.len();
let extension = path