Install npm install require-dynamic-exec -D Useage require('require-dynamic-exec').watch(__dirname,true) 如何配合 express 来实现路由热更新请看 './test/express/index.js'