-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unload or ability to redefine a module? #9
Comments
Another solution to being able to redefine a module would be to use a local AMDLoader ModuleManager. Right now the loader is defined to be global ( |
Today, it is possible to reset the state via |
Is this about reloading modules to try out changes during development (which is a thing that people are going to sometimes want with more-or-less any module loader, whether that's practical or not), or for some kind of mocking/shimming/SxS type thing? |
It would be useful to redefine a module using
define
or provide a function to unload a module. Right now callingdefine
with the same module name (with ignore duplicates) ignores the contents if it has changed.The text was updated successfully, but these errors were encountered: