I'm using wrangler+static assets+remix (classic compiler mode), and am running into this problem: *

I'm using wrangler+static assets+remix (classic compiler mode), and am running into this problem:
  • I edit a file
  • remix compiler rebuilds, and places new files into public/build
  • wrangler then does a reload for each new/updated file in public/build, so it takes a long time and my window is full of this:
...
๐ŸŒ€ File /Users/zwily/Source/my-remix-app2/public/build/routes/_index-QPNMKNPS.js.map was removed...
โŽ” Reloading local server...
๐ŸŒ€ Directory /Users/zwily/Source/my-remix-app2/public/build/routes was removed...
โŽ” Reloading local server...
โŽ” Reloading local server...
... (hundreds of lines of this) ...


Anyone know what's going on here? I pushed a sample app to https://github.com/zwily/remix-wrangler-much-restarting with the config. You just
npm run dev
and then edit app/routes/_index.tsx to see all the restarting action.

I filed a bug https://github.com/cloudflare/workers-sdk/issues/6865
GitHub
Contribute to zwily/remix-wrangler-much-restarting development by creating an account on GitHub.
GitHub
Which Cloudflare product(s) does this pertain to? Wrangler What version(s) of the tool(s) are you using? 3.78.12 [Wrangler] What version of Node are you using? 18.18.2 What operating system and ver...
Was this page helpful?