mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
f184016197
See https://github.com/nuxt/nuxt.js/issues/1509 Status: improving tests.
10 lines
230 B
JavaScript
10 lines
230 B
JavaScript
export default {
|
|
serverMiddleware: ['~/middleware.js'],
|
|
watch: ['~/custom.file'],
|
|
hooks(hook) {
|
|
hook('listen', (server, { port, host }) => {
|
|
process.stdout.write(`Listening on http://${host}:${port}`)
|
|
})
|
|
}
|
|
}
|