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.
I have a module that exports an object.
I have that module
hotload
ed 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?