workers-sdk
workers-sdk copied to clipboard
🐛 BUG: `wrangler pages dev .` runs but content not accessible via browser if `wrangler.toml` exists
Which Cloudflare product(s) does this pertain to?
Pages
What version(s) of the tool(s) are you using?
wrangler 3.62.0
What version of Node are you using?
22.1.0
What operating system and version are you using?
Mac Sonoma 14.5
Describe the Bug
Observed behavior
wrangler dev pages . runs but content not accessible via browser when wrangler.toml exists.
Expected behavior
Expect to be able to view content, even when wrangler.toml exists.
Steps to reproduce
pnpm add -D [email protected]echo hello > index.htmlpnpm wrangler pages dev .- Command-click the URL in the console and see "hello" in the default browser
[ctrl]+[c]to end the wrangler processecho 'name = "foo"' > wrangler.tomlpnpm wrangler pages dev .- Command-click the URL in the console and see that the default browser fails to return the page
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response