π
Visual overhaul β grove dev & grove build
This release replaces the plain-text output of both grove dev and grove build with a consistent badge-based UI, matching the visual language of gest.
grove dev
| State | Before | After |
|---|---|---|
| Watching | πΏ Grove dev plain bold text
| GROVE DEV green badge
|
| Rebuild triggered | π¨ Recompilandoβ¦ cyan text
| RE-BUILDING blue badge
|
| Build error | ERRO β Build error: + dim exit status
| BUILD FAILED red badge
|
| Success | OK β
App reiniciado
| APP RESTARTED green badge + elapsed time
|
| Stopped | plain text | GROVE DEV green badge + stopped.
|
Compiler output is now processed line by line:
- Package header lines (
# module/pkg) β gray + dim β contextual, not competing with the errors - Error lines β fully red, each prefixed with a
Γsymbol β identical to gest's failure output
grove build
Same treatment applied to grove build:
- Header replaced with a
BUILDINGblue badge + the build command in gray - Compiler errors use the same line-aware colorizer (
Γred prefix, gray package headers) - On failure:
BUILD FAILEDred badge β no more redundantβ build failed: exit status 1from cobra
β‘ grove dev β debounce reduced to 50 ms
The rebuild delay dropped from 300 ms β 50 ms. Changes trigger a rebuild almost instantly after saving.
The debounce_ms field in grove.toml remains configurable if you need to increase it for slower machines or monorepos.
π§ Internal
buildOutputWriterextracted tohelpers.goas a shared utility β bothgrove devandgrove builduse the same colorizer- New
badge(bg, label)helper added tohelpers.gofor consistent badge rendering across all commands main.gono longer double-prints an error when a command has already handled its own error display
Full Changelog: v1.2.1...v1.2.2