Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

hmr-enabled

0.1.4 • Public • Published

Hot Module Replacement (HMR) for Angular CLI v6

Enabling Hot Module Replacement (HMR) feature in your Angular CLI v6 project by using Angular Schematics.

Usage

To enable HMR feature in your Angular CLI v6 project, just enter the following command:

ng add hmr-enabled

Developments & Tests

git clone https://github.com/doggy8088/ngcli-hmr-enabled.git
cd ngcli-hmr-enabled
npm install
npm run link
 
cd ..
ng new demo1
cd demo1
schematics hmr-enabled:ng-add --dry-run
schematics hmr-enabled:ng-add
 
npm unlink

Unit Testing

There is no bandwidth for unit testing at this time.

npm run test will run the unit tests, using Jasmine as a runner and test framework.

Links

Keywords

install

npm i hmr-enabled

Downloadsweekly downloads

3

version

0.1.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability