Skip to content

Can't see any wrangler logs when running vite (with @cloudflare/vite-plugin) #10589

@dctanner

Description

@dctanner

What versions & operating system are you using?

System:
OS: macOS 15.6
CPU: (10) arm64 Apple M1 Max
Memory: 1.09 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.14.0 - ~/.nvm/versions/node/v22.14.0/bin/node
npm: 11.3.0 - ~/.nvm/versions/node/v22.14.0/bin/npm
bun: 1.2.2 - ~/.bun/bin/bun
npmPackages:
@cloudflare/vite-plugin: ^1.12.4 => 1.12.4
@cloudflare/workers-types: ^4.20250904.0 => 4.20250909.0
wrangler: ^4.35.0 => 4.35.0

Please provide a link to a minimal reproduction

No response

Describe the Bug

Using the example SPA vite with workers app, and running it with vite, there are no wrangler logs shown. When running vite preview the wrangler logs do show up in the terminal, but then we loose the frontend HMR.

Please provide any relevant error logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting reporter responseNeeds clarification or followup from OPbugSomething that isn't working

    Type

    Projects

    Status

    Untriaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions