Skip to content

Commit

Permalink
[wrangler] move asset change messages in dev to debug level
Browse files Browse the repository at this point in the history
  • Loading branch information
zwily committed Oct 2, 2024
1 parent 5d652a3 commit 2317334
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ export class ConfigController extends Controller<ConfigControllerEventMap> {
ignoreInitial: true,
}).on("all", async (eventName, filePath) => {
const message = getAssetChangeMessage(eventName, filePath);
logger.log(`🌀 ${message}...`);
logger.debug(`🌀 ${message}...`);
assert(
this.latestInput,
"Cannot be watching config without having first set an input"
Expand Down
4 changes: 2 additions & 2 deletions packages/wrangler/src/dev.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ export async function startDev(args: StartDevOptions) {
}).on("all", async (eventName, changedPath) => {
const message = getAssetChangeMessage(eventName, changedPath);

logger.log(`🌀 ${message}...`);
logger.debug(`🌀 ${message}...`);
debouncedRerender();
});
}
Expand Down Expand Up @@ -1020,7 +1020,7 @@ export async function startDev(args: StartDevOptions) {
}).on("all", async (eventName, filePath) => {
const message = getAssetChangeMessage(eventName, filePath);

logger.log(`🌀 ${message}...`);
logger.debug(`🌀 ${message}...`);
debouncedRerender();
});
}
Expand Down

0 comments on commit 2317334

Please sign in to comment.