Troubleshooting

Reset all caches and builds

When working intensively with javascript, or, you are unsure if your test has the same code as you see in your browser, run commands like theese:

1.) What you will mostly need:

rm -rf node_modules public/vite public/vite-* public/svelte-ssr tmp/cache/vite && npm i && vite build && npm run build:ssr

2.) More:

  • delete browser cache
  • restart the app

3.) Less likely to be needed:

bundle exec rails svelte_on_rails:cache:clear

This deletes the Redis cache. There are also tasks for checking the contents of the cache.

Check System Status

check the Rake Tasks for status information of the running system.


Table of contents