Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Currently, when I develop a Firefox extension that uses JavaScript Modules (JSM), then I have to disable the extension -> restart Firefox -> enable the extension -> restart Firefox in order to execute any modifications that I make to to a JSM file.

Is there a better way, such that I can reload the JSM with only a single restart of Firefox perhaps?

share|improve this question
up vote 0 down vote accepted

This thread offers a better solution.

set these prefs:

  • nglayout.debug.disable_xul_fastload to true
  • nglayout.debug.disable_xul_cache to true

As described on https://developer.mozilla.org/en-US/Add-ons/Setting_up_extension_development_environment

share|improve this answer
1  
This is not a good answer. You should have provided at least basic information from the linked webpage. – Marki555 Mar 20 '15 at 20:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .