Wranglers Pages Dev is basically unusable
In locally testing a Next on Pages project, the documentation asks that you
However, with this setup whenever you modify your Next project it triggers a rebuild, deleting
However, wrangler doesn't calmly exit - it leaves behind a process holding it's bind to
What, if anything, can I do locally to fix this or where do I report on GitHub?
npx @cloudflare/next-on-pages --watch and in another terminal use wrangler pages dev .vercel/output/static --compatibility-flag=nodejs_compat. However, with this setup whenever you modify your Next project it triggers a rebuild, deleting
_worker.js. Then, this file being deleted upsets wrangler and it exits.However, wrangler doesn't calmly exit - it leaves behind a process holding it's bind to
:8788 meaning it cannot be restarted without running lsof -i 8778 and then killing the hanging process. Every. single. file change. I'm not sure how to use any other Cloudflare feature with Next on Pages because the thing giving me process bindings cannot be used without extreme babysitting. What, if anything, can I do locally to fix this or where do I report on GitHub?