@willh/hmr
v0.1.0
Published
Enabling Hot Module Replacement (HMR) feature in your Angular CLI v6 project
Downloads
7
Readme
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.