Builder for serving Angular with Hot Module Replacement: ng serve --hmr

Usage no npm install needed!

<script type="module">
  import smartapartmentdataHmrBuilder from 'https://cdn.skypack.dev/@smartapartmentdata/hmr-builder';



This library was generated with Angular CLI version 9.1.9.

Code scaffolding

Run ng generate component component-name --project hmr-builder to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project hmr-builder.

Note: Don't forget to add --project hmr-builder or else it will be added to the default project in your angular.json file.


Run ng build hmr-builder to build the project. The build artifacts will be stored in the dist/ directory.


After building your library with ng build hmr-builder, go to the dist folder cd dist/hmr-builder and run npm publish.

Running unit tests

Run ng test hmr-builder to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.