You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run wrangler dev --local, only messages from the debug/log/info calls are output to the console (error/warn messages are missing).
⎔ Starting a local server...
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ [b] open a browser, [d] open Devtools, [l] turn off local mode, [c] clear console, [x] to exit │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
[mf:inf] Worker reloaded! (337B)
[mf:inf] Listening on localhost:8787
[mf:inf] - http://localhost:8787
[mf:inf] Updated Request cf object cache!
test debug
test log
test info
GET / 200 OK (37.84ms)
test debug
test log
test info
GET /favicon.ico 200 OK (10.72ms)
⎔ Shutting down local server.
This issue appears to affect local mode only (i.e. wrangler dev without --local works fine).
The text was updated successfully, but these errors were encountered:
I guess this is because, while we listen to and forward on data events from stdout, we only use the data event on stderr to find the Debugger listening... string; everything else just gets dropped.
What version of
Wrangler
are you using?2.0.14
What operating system are you using?
Windows
Describe the Bug
This is a very minor issue that I noticed recently.
Given the following worker...
If you run
wrangler dev --local
, only messages from the debug/log/info calls are output to the console (error/warn messages are missing).This issue appears to affect local mode only (i.e.
wrangler dev
without--local
works fine).The text was updated successfully, but these errors were encountered: