Rake Tasks

:check

rails svelte_on_rails:check

prints a status overview page:

  • the status of the currently running Node instance or cluster processes.
  • trace of how it tried to find — or successfully found — Node bin.
  • Memory usage for the node instances.
  • Disk usage for Redis.

:cache:show

bundle exec rails svelte_on_rails:cache:show

Lists all Redis keys used by Svelte on Rails.

:cache:show_svelte

This can be helpful, especially when working with advanced props like _uncached:

bundle exec rails svelte_on_rails:cache:show_svelte

Show only the svelte part (wrapping div stripped away) of cached keys

:cache:show_contents

bundle exec rails svelte_on_rails:cache:show_contents

Show contents of cached keys

:cache:clear

bundle exec rails svelte_on_rails:cache:clear

Clear all Redis keys used by Svelte on Rails