Skip to content
This repository was archived by the owner on Dec 8, 2025. It is now read-only.

Commit a589e0d

Browse files
committed
patch: show kb size in refresh
1 parent 465b707 commit a589e0d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cli/src/devtools.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ export async function devtools(options: DevToolsOptions & CmdOptions) {
6868
const sendDeviceScript = bytecodeFile
6969
? () => {
7070
const bytecode = fs.readFileSync(bytecodeFile)
71-
debug(`refresh bytecode...`)
71+
debug(
72+
`refresh bytecode ${Math.round(
73+
(bytecode.length || 0) / 1000
74+
)}kb...`
75+
)
7276
const msg = JSON.stringify({
7377
type: "bytecode",
7478
channel: "devicescript",

0 commit comments

Comments
 (0)