JSPM

  • Created
  • Published
  • Downloads 269
  • Score
    100M100P100Q93017F
  • License MIT

Hot module replacement for Node.js applications

Package Exports

  • node-hot-loader
  • node-hot-loader/lib/HmrClient
  • node-hot-loader/lib/HmrServer

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-hot-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Node Hot Loader npm package

Node Hot Loader is a small tool written on ES2015+ for Hot Module Replacement support for Node.js application development with webpack.

Its inspired by kotatsu and webpack-dev-middleware.

Typical use cases for Node Hot Loader are hot-reloaded express application with APIs and frontend serving, i.e. React.

Installation

npm install --save-dev node-hot-loader babel-cli

or from Git repository:

npm install --save-dev https://github.com/emsoft/node-hot-loader

babel-cli need for starting Node Hot Loader ES2015+ module.

Usage

Usage: babel-node node-hot {options}

Options:
  -c, --config       Webpack config file. If not set then search webpack.config.js in root directory.

License

MIT (https://opensource.org/licenses/mit-license.php)