Skip to content

wrangler dev inspector fails to reload sometimes #8916

@jyn514

Description

@jyn514

Which Cloudflare product(s) does this pertain to?

Wrangler

What versions & operating system are you using?

wrangler 4.10.0

Please provide a link to a minimal reproduction

https://github.com/jyn514/redirect-worker

Describe the Bug

sometimes, not always, i see an error that looks like this:

⎔ Reloading local server...
✘ [ERROR] Build failed with 1 error:

  ✘ [ERROR] Could not resolve
  "/home/jyn/src/redirect-worker/src/worker.js"

      .wrangler/tmp/bundle-kS70zy/middleware-insertion-facade.js:1:43:
        1 │ ...s OTHER_EXPORTS from "/home/jyn/src/redirect-worker/src/worker.js";
          ╵                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

maybe a timing bug?

it happened exactly once when i went from the first commit on https://github.com/jyn514/redirect-worker to the second.

Please provide any relevant error logs

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions