Skip to content

👀 Implement watch mode for automatic rebuild on file changes #116

@szmyty

Description

@szmyty

Title: 👀 Implement watch mode for automatic rebuild on file changes


Description

Add a watch mode to automatically rebuild when files change.


Goals

  • improve developer workflow
  • enable live iteration

Requirements


1. CLI Command

renderflow watch input.md

2. File Watching

Watch:

- input file
- config file
- templates directory

Use:

notify crate

3. Debounce

  • prevent rapid repeated triggers
  • delay execution slightly

4. Rebuild Behavior

on change → re-run pipeline

5. Logging

File changed → rebuilding...

Tests

  • manual testing acceptable (watch behavior)

Acceptance Criteria

  • watch command implemented
  • file changes trigger rebuild
  • debounce works
  • CLI stable

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions