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

9 lines
189 B
JavaScript

export default {
watch: ['~/custom.file'],
hooks(hook) {
hook('listen', (server, { port, host }) => {
process.stdout.write(`Listening on http://${host}:${port}`)
})
}
}