Nuxt/test/fixtures/cli/nuxt.config.js

9 lines
189 B
JavaScript
Raw Normal View History

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