Skip to content

Commit a6bc78e

Browse files
committed
chore: do not clear screen when serving so that warnings can be seen
1 parent 702b539 commit a6bc78e

File tree

1 file changed

+1
-3
lines changed
  • packages/@vue/cli-service/lib/commands

1 file changed

+1
-3
lines changed

packages/@vue/cli-service/lib/commands/serve.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ const {
22
info,
33
error,
44
hasYarn,
5-
openBrowser,
6-
clearConsole
5+
openBrowser
76
} = require('@vue/cli-shared-utils')
87

98
const defaults = {
@@ -25,7 +24,6 @@ module.exports = (api, options) => {
2524
'--https': `use https (default: ${defaults.https})`
2625
}
2726
}, args => {
28-
clearConsole()
2927
info('Starting development server...')
3028

3129
api.setMode(args.mode || defaults.mode)

0 commit comments

Comments
 (0)