Demo of the Angular 2 hot loader prototype
TypeScript JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
tools
.editorconfig
.gitignore
.jshintrc
.travis.yml
LICENSE
README.md
gulpfile.ts
karma.conf.js
package.json
server.js
test-main.js
tsconfig.json
tsd.json
tslint.json

README.md

WIP

Note that the project is in very early stage of development. It is still not ready for usage but you can give it a try and share your feedback.

Angular2 Hot Loader

Hot loader for Angular 2, inspired by react-hot-loader.

How to use?

The hot loader is in early stage of development, the angular2-hot-loader module is still not published on npm but you can try demo based on angular2-seed by:

git clone https://github.com/mgechev/angular2-hot-loader
cd angular2-hot-loader
npm install
node server.js

In another terminal session run:

npm start

Now on each edit the changes should be pushed to the client.

Features

  • Add new methods to existing components
  • Support changes of external and inline templates
  • Allow adding inputs and outputs (events and properties) to the components

Limitations

  • Does not push changes in services & pipes
  • Does not update component's constructor

License

MIT