Self Reload JSON
Simple node.js module which will auto reload specified JSON file.
The instance created with this module will act as the parsed JSON object itself once loaded, you can read and write JSON content directly with the instance, also it will update automatically when the source JSON file is changed. Optional there is a save function that allows you write the modified data back into the JSON file.
Installation
With NPM:
npm install self-reload-json
Then in script file:
var SelfReloadJSON = require('SelfReloadJSON');
Usage
Not yet documented. (I will finish the documentation if I have time, sorry about that, and please read the source code temporary.)
license
MIT