node-hot-update npm install node-hot-update Example 1. Setting require 'node-hot-update' on the project start, just need require once only. Note that for now I use watchFile function of fs lib for watch file change. 2. Usage require('node-hot-update'); Use Example const lib = _require('path');