mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-18 03:35:17 +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}`)
|
|
})
|
|
}
|
|
}
|