Skip to content

Bug: Dev notice fallback page shows incorrect path (apps/web instead of src/web) #8

@youhanasheriff

Description

@youhanasheriff

Description

The dev notice fallback page (served at localhost:3000 when the Svelte frontend isn't running or built) displays incorrect commands referencing apps/web instead of the actual project path src/web.

Steps to Reproduce

  1. bun install
  2. bun run build:all
  3. bun start -- start (without running the web UI dev server)
  4. Open http://localhost:3000 in a browser

Expected Behavior

The dev notice should display the correct commands:

  • Development: bun run --cwd src/web dev
  • Production: bun run --cwd src/web build

Actual Behavior

The dev notice displays incorrect commands:

  • Development: bun run --cwd apps/web dev
  • Production: bun run --cwd apps/web build

Running these commands results in ENOENT: Could not change directory to "apps/web" since the directory doesn't exist.

Environment

  • OS: macOS
  • Bun: v1.3.9
  • Version: v1.1.0

Location

src/web/src/server.tsbuildDevNotice() function, lines 421 and 425.

Metadata

Metadata

Labels

awaiting response[Status] Waiting for more information from the reporter [issues]bug[Type] Something isn't working [issues, PRs]interface[Area] User-facing layer — UI, CLI, API endpoints, or SDK surface [issues, PRs]

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions