mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-01 01:47:11 +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}`)
|
|
})
|
|
}
|
|
}
|