Additional watch folders

In Nuxt 2 you could add a watch property to the config file, but I can't see that in Nuxt 3. How do you watch additional folders in Nuxt 3?
2 Replies
conner
conner2y ago
@davestewart Which Nuxt Version are you using? The watch option is not documented yet. But is available since in 3.2.0 https://github.com/nuxt/nuxt/pull/19530
davestewart
davestewartOP2y ago
Brilliant! Thanks Connor. For anyone else, it's just a setting in nuxt config:
watch: [
'~/config/**/*.ts',
],
watch: [
'~/config/**/*.ts',
],
Want results from more Discord servers?
Add your server