mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 04:34:15 -04:00
(doc) add info about clearing caches during development
This commit is contained in:
parent
3c81de9c16
commit
9902e6fd7a
@ -178,6 +178,14 @@ so to test them, you have to build a production build (`make deploy` and `nuxt s
|
||||
|
||||
### Troubleshooting
|
||||
|
||||
#### Invalid caches after changing code
|
||||
Due to how [caches in Nitro](https://nitro.build/guide/cache) work, they automatically invalidate during development
|
||||
when their function changes. However, this heuristic does not cover other functions the cached function depends on.
|
||||
You can manually clear caches:
|
||||
```bash
|
||||
rm -rf .nuxt/cache
|
||||
```
|
||||
|
||||
#### Module did not self-register
|
||||
|
||||
If you encounter an error `Module did not self-register`, triggered by the `canvas` dependency,
|
||||
|
Loading…
x
Reference in New Issue
Block a user