felixge / node-sandboxed-module

A sandboxed node.js module loader that lets you inject dependencies into your modules.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding Module fallback function

evenstensberg opened this issue · comments

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"

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

@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?

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?

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

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