Closed Bug 535010 Opened 15 years ago Closed 14 years ago

[Enh] Reloading of JS Modules (for debugging/development)

Categories

(Core :: XPConnect, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 564674

People

(Reporter: andre.selmanagic+mozilla, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
Build Identifier: 

It would be nice, if JS modules could be reloaded (from file) for debugging and development purposes. Currently you need to restart the application to test a JS module you just edited / changed. This obviously takes time.

Maybe add something like:

Components.utils.reimport(filename, [optional] target)

Thanks.

Reproducible: Always
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.