workers-sdk
workers-sdk copied to clipboard
`wrangler dev` inspector fails to reload sometimes
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