Skip to content

Commit 5793b91

Browse files
committed
chore: tweak build watch mode message
1 parent 6ea17c9 commit 5793b91

File tree

1 file changed

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

1 file changed

+5
-1
lines changed

packages/@vue/cli-service/lib/commands/build/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,11 @@ module.exports = (api, options) => {
145145
)
146146
log(formatStats(stats, targetDirShort, api))
147147
if (args.target === 'app') {
148-
done(`Build complete. The ${chalk.cyan(targetDirShort)} directory is ready to be deployed.\n`)
148+
if (!args.watch) {
149+
done(`Build complete. The ${chalk.cyan(targetDirShort)} directory is ready to be deployed.\n`)
150+
} else {
151+
done(`Build complete. Watching for changes...`)
152+
}
149153
if (
150154
options.baseUrl === '/' &&
151155
// only log the tips if this is the first build

0 commit comments

Comments
 (0)