Nuxt/test/fixtures/cli/nuxt.config.js
2018-08-14 19:35:25 +01:00

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}`)
})
}
}