[PR #271] [MERGED] feat: log incoming requests in dev server #430

Closed
opened 2026-05-06 12:39:46 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/cloudflare/vinext/pull/271
Author: @james-elicx
Created: 3/5/2026
Status: Merged
Merged: 3/5/2026
Merged by: @james-elicx

Base: mainHead: james/dev-request-log


📝 Commits (4)

  • 879ea0a feat: log incoming requests in dev server
  • 7806462 whitespace, undefined check, sentinel improvement
  • 1bad824 bonk comments
  • 99d1795 bonk comments

📊 Changes

4 files changed (+274 additions, -0 deletions)

View changed files

📝 packages/vinext/src/index.ts (+120 -0)
📝 packages/vinext/src/server/app-dev-server.ts (+42 -0)
📝 packages/vinext/src/server/dev-server.ts (+26 -0)
packages/vinext/src/server/request-log.ts (+86 -0)

📄 Description

Adds logging for network requests like in the Next.js dev server. Shows a rough compile / render time split like Next.js does as well (where possible). Supports both app dir and pages dir.

image

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cloudflare/vinext/pull/271 **Author:** [@james-elicx](https://github.com/james-elicx) **Created:** 3/5/2026 **Status:** ✅ Merged **Merged:** 3/5/2026 **Merged by:** [@james-elicx](https://github.com/james-elicx) **Base:** `main` ← **Head:** `james/dev-request-log` --- ### 📝 Commits (4) - [`879ea0a`](https://github.com/cloudflare/vinext/commit/879ea0a22ca34a8d96e65478d605cc7fbc8fec01) feat: log incoming requests in dev server - [`7806462`](https://github.com/cloudflare/vinext/commit/7806462d82996d8119716d574a32ecb739693b42) whitespace, undefined check, sentinel improvement - [`1bad824`](https://github.com/cloudflare/vinext/commit/1bad82469e4045101e555bcf6a480958cbff4144) bonk comments - [`99d1795`](https://github.com/cloudflare/vinext/commit/99d1795ac976d4a9eeb348b611e1bbd0d7dd6fcf) bonk comments ### 📊 Changes **4 files changed** (+274 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/vinext/src/index.ts` (+120 -0) 📝 `packages/vinext/src/server/app-dev-server.ts` (+42 -0) 📝 `packages/vinext/src/server/dev-server.ts` (+26 -0) ➕ `packages/vinext/src/server/request-log.ts` (+86 -0) </details> ### 📄 Description Adds logging for network requests like in the Next.js dev server. Shows a rough compile / render time split like Next.js does as well (where possible). Supports both app dir and pages dir. <img width="830" height="222" alt="image" src="https://github.com/user-attachments/assets/99206455-1a9f-4e2f-a8c4-bee66a09ab16" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 12:39:46 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#430
No description provided.