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

Readme

Keywords

Package Sidebar

Install

npm i hmr-enabled

Weekly Downloads

14

Version

0.1.4

License

MIT

Unpacked Size

104 kB

Total Files

44

Last publish

Collaborators

  • willh