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

Commit 17d2692

Browse files
committed
Update lib/dev.js
1 parent e5653b5 commit 17d2692

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/dev.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
const output = require('./console/output');
22
const outputDev = require('./console/outputDev');
33
const loader = require('./console/loader');
4+
const clear = require("./console/clean");
45
const fs = require("fs-extra");
56
const path = require("path");
67
const pc = require("picocolors");
@@ -72,6 +73,7 @@ async function dev(options) {
7273
// if include `ready in` then vite is ready
7374
if (data.toString().includes("ready in")) {
7475
load.end();
76+
clear()
7577
output(`${pc.bold("[Fastjs-cli]")}`, "green");
7678
output("")
7779
const Version = require("../package.json").version;

0 commit comments

Comments
 (0)