From 3e25dcb377b29181ae0bf2210180f1b17c34f971 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Sat, 2 Apr 2022 13:40:48 +0100 Subject: [PATCH] fix: remove superfluous debugger log messages from local dev (#746) Closes #387 --- .changeset/thin-buckets-cross.md | 7 +++++++ packages/wrangler/src/dev/local.tsx | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changeset/thin-buckets-cross.md diff --git a/.changeset/thin-buckets-cross.md b/.changeset/thin-buckets-cross.md new file mode 100644 index 000000000000..2098f850b3a6 --- /dev/null +++ b/.changeset/thin-buckets-cross.md @@ -0,0 +1,7 @@ +--- +"wrangler": patch +--- + +fix: remove superfluous debugger log messages from local dev + +Closes #387 diff --git a/packages/wrangler/src/dev/local.tsx b/packages/wrangler/src/dev/local.tsx index c51fc8899193..743d4cd49c43 100644 --- a/packages/wrangler/src/dev/local.tsx +++ b/packages/wrangler/src/dev/local.tsx @@ -191,7 +191,6 @@ function useLocalWorker({ }); local.current.stderr?.on("data", (data: Buffer) => { - console.error(`${data.toString()}`); const matches = /Debugger listening on (ws:\/\/127\.0\.0\.1:\d+\/[A-Za-z0-9-]+)/.exec( data.toString()