nuxt/nuxt
watch components directories inside same monorepo
Fechada
#12.350 aberto em 17 de jan. de 2023
good first issue🛠️ dx
Métricas do repositório
- Stars
- (60.221 estrelas)
- Métricas de merge de PR
- (Mesclagem média 3d 7h) (114 fundiu PRs em 30d)
Description
Environment
- Operating System:
Linux - Node Version:
v16.19.0 - Nuxt Version:
3.0.0 - Nitro Version:
1.0.0 - Package Manager:
yarn@3.3.1 - Builder:
vite - User Config:
- - Runtime Modules:
- - Build Modules:
-
Reproduction
- Create a Nuxt "UX Library" Module that provides components and performs auto loading of those.
- Use the Module in your application.
- Start the application
- Add a new component to the Nuxt Module
The component won't be found until the application is restarted.
Describe the bug
Newly added components are not added to components.d.ts of application during development and require a restart of the application to take effect.
Is there any way to get the same behavior of the module, that the application already has so newly added components trigger a refresh?
Additional context
No response
Logs
No response