jan-swiecki / node-hotload

Hot load (hot require) for NodeJS. It's like JRebel but for NodeJS.
MIT License
19 stars 12 forks source link

Access an event for changes #5

Open reggi opened 9 years ago

reggi commented 9 years ago

I have a module that exports an object.

I have that module hotloaded in and the process loops over the object.

Then I make some changes to the object.

I'd like the running process to have access to an event so I can loop over the object again, checking for differences between the original object and the new object. and apply the loops logic to the new object props.

Thoughts on how this could be achieved?