Live reload documentation

This commit is contained in:
Kushan Joshi
2016-02-13 17:32:30 +05:30
parent 8a3314e5d3
commit c1fa5fdb40

View File

@@ -168,6 +168,15 @@ required for this.
iD will be built to the `dist` directory. This directory is self-contained; you can copy it
into the public directory of your webserver to deploy iD.
## Live reloading
You can use [live-server](https://www.npmjs.com/package/live-server) *(npm module)* to
reload the browser automatically whenever there is a change in code.
1. run `npm install -g live-server`
2. run `live-server .` or `live-server dist` *(You will be automatically redirected to the local server page.)*
*(Note: Sometimes auto reload might not display correctly and you might need to rebuild iD by running `make`.)*
## Licensing
iD is available under the [ISC License](https://opensource.org/licenses/ISC).