Skip to content

Commit 570fcf2

Browse files
committed
feat: cleaner watch mode timestamp
1 parent d03faa9 commit 570fcf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/log.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import { gray } from 'kolorist';
33
const currentTime = () => (new Date()).toLocaleTimeString();
44

55
export const log = (...messages: unknown[]) => console.log(
6-
`[${gray(currentTime())}]`,
6+
gray(currentTime()),
77
...messages,
88
);

0 commit comments

Comments
 (0)