Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do I have to use `jpm run` every time I change the Firefox add-on I'm developing?

I've gone over the Mozilla Developer Network "Getting Started (jpm)" guide to getting started with Firefox add-on development.

This guide suggests that to see the effects of changes that I make to my add-on's code I need to:

  1. Close Firefox
  2. Rebuild the add-on.
  3. Run it in Firefox again.

Do I really have to rebuild my package and run it a new instance of Firefox to see my changes?

Is there an alternative way to refresh the add-on code from within the browser?

like image 680
urig Avatar asked Nov 20 '15 20:11

urig


People also ask

Are Firefox Add-ons safe?

Are add-ons safe to install? Use caution when installing add-ons, as they could harm your computer or violate your privacy. Add-ons available from this site may be subject to review by Mozilla's team of reviewers, and user feedback is closely monitored, so they should generally be safe to install.


1 Answers

You can combine jpm with the Extension Auto Installer add-on like this:

jpm post --post-url http://localhost:8888/

Or using watchpost to automate the process:

jpm watchpost --post-url http://localhost:8888/ 
like image 164
cviejo Avatar answered Oct 08 '22 14:10

cviejo