mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
11 lines
251 B
JavaScript
11 lines
251 B
JavaScript
export default {
|
|
hooks(hook) {
|
|
hook('build:done', () => {
|
|
process.stdout.write('Compiled successfully')
|
|
})
|
|
hook('listen', (server, { port, host }) => {
|
|
process.stdout.write(`Listening on http://${host}:${port}`)
|
|
})
|
|
}
|
|
}
|