N
Nuxt17mo ago
plcdnl

How to add a Watch to a custom file that restart nuxt?

As happens when we edit .env for example
7 Replies
Cue
Cue17mo ago
Nuxt
Nuxt Configuration Reference
Discover all the options you can use in your nuxt.config.ts file.
Mads
Mads17mo ago
Take a look at vite-plugin-watch https://github.com/lepikhinb/vite-plugin-watch
GitHub
GitHub - lepikhinb/vite-plugin-watch
Contribute to lepikhinb/vite-plugin-watch development by creating an account on GitHub.
Mads
Mads17mo ago
It should get you going fast Oh it’s already built in. Nevermind my comment
plcdnl
plcdnlOP17mo ago
yes! Would be perfect, but seems not work
Cue
Cue17mo ago
GitHub
nuxt.options.watch not restarting dev server · Issue #22272 · nux...
Environment npx nuxi info Nuxi 3.6.2 16:43:20 16:43:20 RootDir: D:/work/projects/userquin/GitHub/userquin/vuetify-nuxt-module-main-2 16:43:20 Nuxt project info: 16:43:20 ---------------------------...
plcdnl
plcdnlOP17mo ago
no, but thanks anyway 😦
Lewis
Lewis5mo ago
hey does anyone know if theres a way to remove files from the watch list with this?
Want results from more Discord servers?
Add your server