This is a simple config loader that loads all the yml and json files from a folder and outputs into a structure, and reloads on SIGHUP signal
npm install --save dir-config-loader
For example, you have the following folder structure
kill -SIGHUP [pid]
all the configs will be cleared and reloaded based on the previous folder.