mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 09:02:03 +00:00
fix(nuxi): display log when restarting nuxt (#22500)
This commit is contained in:
parent
14bf2b02f9
commit
48f0eade12
@ -86,9 +86,7 @@ export default defineNuxtCommand({
|
||||
await currentNuxt.close().catch(() => {})
|
||||
await watcher.close().catch(() => {})
|
||||
await distWatcher.close().catch(() => {})
|
||||
if (reason) {
|
||||
consola.info(`${reason ? reason + '. ' : ''}Restarting nuxt...`)
|
||||
}
|
||||
process.send({ type: 'nuxt:restart' })
|
||||
} else {
|
||||
await load(true, reason)
|
||||
|
Loading…
Reference in New Issue
Block a user