Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assets are not reloaded until Raycast is restarted #1095

Closed
Loskir opened this issue Mar 13, 2022 · 5 comments
Closed

Assets are not reloaded until Raycast is restarted #1095

Loskir opened this issue Mar 13, 2022 · 5 comments
Labels
bug Something isn't working dev tools Dev tools (CLI, Manage Extensions, npm, etc) status: fixed in next release The issue will be closed once next release is available

Comments

@Loskir
Copy link
Contributor

Loskir commented Mar 13, 2022

Raycast version: 1.30.2

Description

Assets (icons) are not reloaded on-the-fly when in dev mode or when building the extension. It is required to restart Raycast entirely to reload the icons

Steps To Reproduce

  1. Create an extension that uses local file (located in assets directory) as a list item icon or similar
  2. Build the extension
  3. Open the extension in Raycast, make it show that icon
  4. Replace that file with another icon
  5. Build the extension again
  6. Open the extension in Raycast, see that the icon has not changed.
  7. Reload the extension, it won't help
  8. Restart Raycast using "Quit Raycast" command
  9. Open the extension
  10. Now the icon is reloaded

The same applies to dev mode.

The current behavior

The expected behavior

Raycast shouldn't cache the icons so heavily, at least for dev mode and also maybe for locally installed extensions

@Loskir Loskir added bug Something isn't working dev tools Dev tools (CLI, Manage Extensions, npm, etc) labels Mar 13, 2022
@fe9lix fe9lix added the status: fixed in next release The issue will be closed once next release is available label Mar 23, 2022
@fe9lix
Copy link
Contributor

fe9lix commented Mar 23, 2022

There will be a new dev action to clear the assets cache in the next release.

@fe9lix fe9lix closed this as completed Mar 24, 2022
@xilopaint
Copy link
Contributor

I'm facing this issue and Clear Assets Cache doesn't work for me.

@raycastbot reopen this issue

@xilopaint
Copy link
Contributor

@pernielsentikaer, please take a look at this.

@inducingchaos
Copy link

Bumping this - clearing the assets cache still does not work

@fe9lix

@Ernest0-Production
Copy link
Contributor

Ernest0-Production commented Jan 18, 2025

Same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dev tools Dev tools (CLI, Manage Extensions, npm, etc) status: fixed in next release The issue will be closed once next release is available
Projects
None yet
Development

No branches or pull requests

5 participants