Automatically reload your chrome extension during development with an http request
During chrome extension development every time you make updates to your code the unpacked extension needs to be reloaded or toggled off and on.
With this extension you may automate this process triggering reloads at any time you like:
- install "socket.io" npm package
- create new server like
const io = new Server(PORT)
- emit reload events when needed(like on build end or file change)
io.emit("crx-reload")
In the extension popup you may configure which port you would like to use and toggle extension off when needed. Since this extension uses websockets you would not want to keep it turned on all the time and only enable it during development.
Popup label will be colored red or green depending on if it was able to establish connection with your server.
Please note that changes made to your 'manifest.json' will not be reflected with these reloads because chrome API only allows to toggle extensions on and off and not actually reload them. A full reload is only possible manually.
Statistics
Installs
5
history
Category
Rating
0.0 (0 votes)
Last update / version
2023-05-02 / 0.0.1
Listing languages
en