Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching to local mode causes console spam #387

Closed
Electroid opened this issue Feb 4, 2022 · 0 comments · Fixed by #746 or #721
Closed

Switching to local mode causes console spam #387

Electroid opened this issue Feb 4, 2022 · 0 comments · Fixed by #746 or #721
Labels
polish Small improvements to the experience

Comments

@Electroid
Copy link
Contributor

When you're running wrangler dev and switch to local mode, you get spam of Miniflare debug messages. We should clean this up so debug messages don't appear.

Starts in remote mode:

⎔ Starting a local server...
⬣ Listening at http://localhost:8787

Then switch to local mode:

Debugger listening on ws://127.0.0.1:9229/42f165d2-3e3c-48f8-a8fc-9785ec6c3597
For help, see: https://nodejs.org/en/docs/inspector

Debugger attached.

[mf:inf] Worker reloaded! (19.25KiB)

[mf:inf] Listening on :8787

[mf:inf] - http://127.0.0.1:8787

[mf:inf] - http://192.0.2.2:8787

[mf:inf] - http://192.168.1.68:8787

[mf:inf] - http://172.16.0.2:8787

⎔ Shutting down local server.
miniflare process exited with code null
⎔ Starting a local server...
⬣ Listening at http://localhost:8787
Debugger listening on ws://127.0.0.1:9229/7e150942-4cec-4a44-b2f5-bd590547bbc2
For help, see: https://nodejs.org/en/docs/inspector

Debugger attached.

[mf:inf] Worker reloaded! (19.25KiB)

[mf:inf] Listening on :8787

[mf:inf] - http://127.0.0.1:8787

[mf:inf] - http://192.0.2.2:8787
[mf:inf] - http://192.168.1.68:8787
[mf:inf] - http://172.16.0.2:8787

[mf:inf] Updated Request cf object cache!
@Electroid Electroid added the polish Small improvements to the experience label Feb 4, 2022
@Electroid Electroid added this to the 2.0 milestone Feb 4, 2022
@Electroid Electroid moved this to Non-blocking in workers-sdk Feb 7, 2022
petebacondarwin added a commit to petebacondarwin/wrangler2 that referenced this issue Apr 1, 2022
@petebacondarwin petebacondarwin moved this from Should-have to In Review in workers-sdk Apr 1, 2022
Repository owner moved this from In Review to Done in workers-sdk Apr 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
polish Small improvements to the experience
Projects
None yet
1 participant