Skip to content

Conversation

@leoafarias
Copy link
Collaborator

Summary

Adds a watchForChanges option to DeckOptions that controls whether the CLI watcher process is started automatically.

Changes

  • DeckOptions: Added watchForChanges field (defaults to false)
  • DeckControllerBuilder: Now checks watchForChanges before starting the CLI watcher
  • Demo: Explicitly sets watchForChanges: true to enable file watching during development

Behavior

watchForChanges CLI Watcher
false (default) Not started
true Started (watches slides.md for changes)

Why

This allows consumers to disable the automatic CLI watcher process. By defaulting to false, apps don't unexpectedly spawn a subprocess. The demo explicitly opts-in for development workflow.

Testing

  • ✅ All 544 tests pass
  • ✅ Analyze passes (pre-existing warnings in test files only)

Pull Request opened by Augment Code with guidance from the PR author

- Add watchForChanges field to DeckOptions (defaults to false)
- DeckControllerBuilder now respects watchForChanges before starting CLI watcher
- Demo explicitly enables watchForChanges: true for development

This allows consumers to disable the automatic CLI watcher process
that monitors slides.md for changes.
@docs-page
Copy link

docs-page bot commented Jan 9, 2026

To view this pull requests documentation preview, visit the following URL:

docs.page/btwld/superdeck~30

Documentation is deployed and generated using docs.page.

- Fix deprecated color.value usage in style_schemas_test.dart
- Minor comment cleanup in test file
- Regenerated raw_slide_schema.g.dart
@leoafarias leoafarias merged commit 4803652 into main Jan 14, 2026
2 checks passed
@leoafarias leoafarias deleted the feat/watch-for-changes-option branch January 14, 2026 16:52
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.

2 participants