N
Nuxt2y 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
Cue2y ago
Nuxt
Nuxt Configuration Reference
Discover all the options you can use in your nuxt.config.ts file.
Mads
Mads2y 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
Mads2y ago
It should get you going fast Oh it’s already built in. Nevermind my comment
plcdnl
plcdnlOP2y ago
yes! Would be perfect, but seems not work
Cue
Cue2y 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
plcdnlOP2y ago
no, but thanks anyway 😦
Lewis
Lewis7mo 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