aboutsummaryrefslogtreecommitdiffstats
path: root/internal/swextreload.go
AgeCommit message (Collapse)Author
2023-11-16swextreload: Note about getting targets onceTeddy Wing
2023-11-16Try not cancelling contextTeddy Wing
Turns out this is what was closing the extension background page DevTools window. We shouldn't run the context cancel function.
2023-11-16swextreload: Experiment with MV2 tab reloadingTeddy Wing
Trying to set things up to not get targets again when reloading the current tab.
2023-11-14swextreload: Try to split out tab reloading into a separate functionTeddy Wing
Trying to make it so you can reload the tab only once after reloading all extensions. This still works for a single Manifest V3 extension, but I'm having trouble getting a Manifest V2 extension to reload properly.
2023-11-14swextreload: Add note for multiple extension handlingTeddy Wing
2023-11-14swextreload.Reload: Handle multiple extensionsTeddy Wing
Get rid of the `return` so we reload more than the first extension.
2023-11-14swextreload: Add package documentationTeddy Wing
2023-11-14swextreload: Add documentation commentsTeddy Wing
2023-11-14swextreload.reloadExtension: Remove old commented codeTeddy Wing
2023-11-14Make `--reload-current-tab` flag workTeddy Wing
Make the tab reload work based on the flag instead of always reloading.
2023-11-14Add `--debug` flagTeddy Wing
Condition printing debug output on the presence of this flag.
2023-11-14swextreload.reloadExtension: Return errorsTeddy Wing
Add our own errors and return these instead of logging them.
2023-11-14swextreload.Reload: Accept a list of extension IDsTeddy Wing
Run the reload on multiple extensions.
2023-11-14swextreload.Reload: Extract argumentsTeddy Wing
2023-11-14Move code from `main()` to `swextreload.Reload()`Teddy Wing
Move everything to our library.
2023-11-14internal/swextreload: Get rid of option interface, use plain argumentsTeddy Wing
2023-11-14Move swextreload.go to internal/Teddy Wing
Don't make this a public API. I'd rather do something simple and bad to get this finished quickly.