Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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 at 20:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.