I'm coding away on a Chrome extension, but one of the more annoying steps is updating the latest code into Chrome. Every time there's a new code build I need go into the Manage Extensions panel, find the extension, and click the "refresh" icon.
Anyone have any slicker ways to do it? I'm a big fan of hooking up automatic live updating into the builds so I don't need to manually click something every time. If there was some command line way to trigger a refresh then that would be excellent.
Try this
Check periodically the extension status using alarms https://developer.chrome.com/docs/extensions/reference/alarms/
and requestCheckUpdate https://developer.chrome.com/docs/extensions/reference/runtime/#method-requestUpdateCheck
Reload the extension using the reload method https://developer.chrome.com/docs/extensions/reference/runtime/#method-reload