Update Swan
Update Swan by pulling the repository, rebuilding the extension, and reloading the unpacked extension in your browser.
Pull latest changes
bash
git pullIf dependencies changed:
bash
npm installRebuild
bash
npm run buildReload the extension
- Open
chrome://extensions. - Find Swan.
- Click the reload icon.
- Open Swan settings and confirm your settings are still present.
When to re-run setup
Use setup again if you want the scripted path:
bash
npm run setupIt will build the extension and print the current extension path again.
Settings persistence
Swan settings live in browser extension local storage. Rebuilding the source does not normally clear settings. Removing the extension from the browser can remove extension-local data for that profile.