mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +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}`)
|
|
})
|
|
}
|
|
}
|