supervisor-hot-reload
Install
$ npm i supervisor-hot-reload -g
Example
app.js
'use strict'; const express = ;const app = ;const user = ; app app;
user.js
moduleexports = id: 1 age: 19
DEBUG=proxy-hot-reload supervisor-hot-reload app.js
If you modify user.js, it will hot reload user.js. If you change app.js, it will restart server.
Options
see supervisor.
License
MIT