Skip to content

fix(api): hmr for route dependencies - #187

Merged
cpojer merged 1 commit into
mainfrom
fix-route-dependency-hmr
May 6, 2026
Merged

cpojer merged 1 commit into
mainfrom
fix-route-dependency-hmr

Conversation

@TheAlexLichter

@TheAlexLichter TheAlexLichter commented May 6, 2026 •

Copy link
Copy Markdown
Member

While working on a Void project, I realized that somehow HMR for hono routes didn't trigger as expected.

This PR avoids caching lazy-loaded route modules in dev-generated route tables so HMR works again. Production route module caching is unchanged.

@TheAlexLichter
TheAlexLichter marked this pull request as ready for review May 6, 2026 21:43
@TheAlexLichter
TheAlexLichter requested a review from cpojer May 6, 2026 21:43
@TheAlexLichter TheAlexLichter changed the title Fix route dependency HMR in dev fix(api): hmr for route dependencies May 6, 2026
@cpojer
cpojer merged commit 3c05d08 into main May 6, 2026
9 checks passed
@cpojer
cpojer deleted the fix-route-dependency-hmr branch May 6, 2026 22:42
cpojer pushed a commit that referenced this pull request Sep 11, 2026
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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