i'm having trouble developing with Nuxt3, the problem is that sometimes edits in the code are not visible, it seems that Nitro caches something and I need to restart the server in order to see the updates. The most effective example is when I console.log
something, then i remove the line, but the log still get printed after I reload the page. Any tips?
Asked
Active
Viewed 170 times
1

sintj
- 804
- 2
- 11
- 23
1 Answers
0
First, you can know the caching behavior by checking/adding new rules in your nuxt.config.ts
's routeRules
. See nuxt 3 rendering.
Also, a simple trick is to manually delete the cached route in .nuxt/cache/nitro/routes/_/<route>.json
.

didof
- 298
- 3
- 4