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

How to hotreload object-likes properties #6

Open Globik opened 8 years ago

Globik commented 8 years ago

Excuse me, but does not work if adding an object at firt time var lib = hotload("./lib.js").key; And then in the code further: console.log(lib); ??? I d like to test destructuring variable, but unluck . var {key}= hotload("./lib.js");..... console.log(key)