Skip to content

Commit

Permalink
fix(wrangler): Move "Compiling worker to ..." to debug logs
Browse files Browse the repository at this point in the history
When running `pages dev` in a Pages Functions project,
we output the compiled worker output path to stdout.
This path tends to be rather noisy in the grand scheme
of `pages dev` stdout things, and not much helpful.

This commit moves this log to the `debug` output.

Fixes #4265
  • Loading branch information
CarmenPopoviciu committed Jun 6, 2024
1 parent cda98af commit 46f8c47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/wrangler/src/pages/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,8 @@ export const Handler = async (args: PagesDevArguments) => {
);
}

logger.log(`Compiling worker to "${scriptPath}"...`);
logger.debug(`Compiling worker to "${scriptPath}"...`);

const onEnd = () => scriptReadyResolve();
try {
const buildFn = async () => {
Expand Down

0 comments on commit 46f8c47

Please sign in to comment.