mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-05 21:53:56 +00:00
12 lines
265 B
JavaScript
12 lines
265 B
JavaScript
export default {
|
|
test: true,
|
|
hooks(hook) {
|
|
hook('build:done', () => {
|
|
process.stdout.write('Compiled successfully')
|
|
})
|
|
hook('listen', (server, { port, host }) => {
|
|
process.stdout.write(`Listening on http://${host}:${port}`)
|
|
})
|
|
}
|
|
}
|