mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
refactor: add listening message in cli tes
This commit is contained in:
parent
b60c4fd432
commit
937dfe8183
7
test/fixtures/cli/nuxt.config.js
vendored
7
test/fixtures/cli/nuxt.config.js
vendored
@ -1,3 +1,8 @@
|
||||
export default {
|
||||
watch: ['~/custom.file']
|
||||
watch: ['~/custom.file'],
|
||||
hooks(hook) {
|
||||
hook('listen', (server, { port, host }) => {
|
||||
process.stdout.write(`Listening on http://${host}:${port}`)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user