Conversation
Add `devw watch` — a long-running process that watches `.dwf/` for YAML changes and recompiles automatically. Thin wrapper around compile with debounced filesystem events via chokidar v3. - Extract `executePipeline` from compile.ts with structured return types - New watch.ts with chokidar watcher, 200ms debounce, SIGINT cleanup - Add `reload` icon to shared ICONS in utils/ui.ts - Register watch command in index.ts - Add unit tests for executePipeline (8) and integration tests for watch (6) - Update test scripts to build dist before test compilation
- Add devw watch row to README commands table - Create docs/commands/watch.mdx for Mintlify docs site - Register watch page in docs.json navigation between compile and doctor
- Add watch tab to terminal demo section between compile and doctor - Update command count from six to seven - Add global *:focus-visible rule using var(--accent) for consistent styling - Fix active tab border to use border: 1px solid var(--accent)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
devw watchcommand that watches.dwf/for YAML changes and recompiles automatically via chokidar v3executePipelinefrom compile.ts with structured return types (BridgeResult,CompileResult) for reuse by watchfocus-visiblestylesChanges
CLI (
packages/cli/)executePipelinefunction and exportBridgeResult,CompileResult,PipelineOptionstypesreloadicon to sharedICONSchokidar ^3.6.0, update test scripts to build dist before test compilationDocs
devw watchto commands tableLanding (
apps/landing/)*:focus-visiblerule withvar(--accent)Test plan
pnpm test— 151 tests pass (137 existing + 8 pipeline + 6 watch)devw watchstarts, shows initial compile, stays alive.dwf/rules/*.yml→ recompile triggers within ~400msdevw watch --tool claude→ only claude bridge in output