Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

Installing a local extension causes it to get cached, and it can't be changed and re-installed again #21

Open
Ruin0x11 opened this issue Feb 3, 2021 · 2 comments
Assignees

Comments

@Ruin0x11
Copy link

Ruin0x11 commented Feb 3, 2021

I was trying to follow the steps at Local Setup to install a new theme. I ran http-server in a theme extension's directory and installed it with the URL http://localhost:8001/ext.json. This is on Windows. Then I changed some things and uninstalled the extension. When I re-installed the extension, the changes were not reflected in the application. The only way to fix this was to change the extension identifier and port number in the url every time I make a change. It's confusing since otherwise it looks like the install succeeds.

@johnny243
Copy link
Contributor

Yes @Ruin0x11, the extensions are cached. You can open DevTools, then go to the Network tab and make sure "Disable cache" is checked. Your extension should not be cached as long as DevTools is open.

@Ruin0x11
Copy link
Author

Ruin0x11 commented Feb 3, 2021

@johnny243 Thanks for clarifying. Can this be added to the docs so nobody else gets caught by this? (https://docs.standardnotes.org/extensions/local-setup)

@TheodoreChu TheodoreChu transferred this issue from standardnotes/desktop Feb 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants