felixge / node-sandboxed-module

A sandboxed node.js module loader that lets you inject dependencies into your modules.
MIT License
342 stars 42 forks source link

Adding Module fallback function #56

Open evenstensberg opened 8 years ago

evenstensberg commented 8 years ago

Hi! If you need help, I would like to try implementing a shadow module like this, but rather it senses your errors in the code first, and if there aren't any, the modules get reloaded. The way I would do this, would be to clone the modules, and then delete them, and if it hasn't got any errors, it pastes the modules and tries to see if there is any errors. Hope to get a reply! My email is "evenstensberg@gmail.com"

domenic commented 8 years ago

I don't understand. Is this an issue report for the node-sandboxed-module project, or did you mean to post this somewhere else?

egasimus commented 8 years ago

@ev1stensberg I think I see what you have in mind. This module might indeed not be the best place to implement this but you might want to look into Glagol, another sandboxing and live reloading system which has such a feature planned but not yet implemented. Perhaps you could lend a hand?

evenstensberg commented 8 years ago

First: @domenic : It really isn't a issue, rather a suggestion! @egasimus : Yeah, that would be cool, where do you prefer me to contact you?

evenstensberg commented 8 years ago

And yea, the node-sandboxed-module project was the intended project @domenic

egasimus commented 8 years ago

@ev1stensberg drop me a line at fallenblood@gmail.com and let me know if Glagol is making any sense to you :)