In any function or event

chrome.runtime.reload();
Copy the code

Your extension (Docs) will be reloaded. You also need to change the manifest.json file to add:

. "permissions": [ "management" , ...] .Copy the code

More methods, please check the source link: www.itranslater.com/qa/details/…