Readme update

This commit is contained in:
Dominik Prokop 2019-02-19 21:15:36 +01:00
parent d19616a16b
commit 56726397e3

View File

@ -75,15 +75,15 @@ $GOPATH/bin/bra run
Rebuild on file change, and serve them by Grafana's webserver (http://localhost:3000): Rebuild on file change, and serve them by Grafana's webserver (http://localhost:3000):
```bash ```bash
yarn watch yarn start
``` ```
Build the assets, rebuild on file change with Hot Module Replacement (HMR), and serve them by webpack-dev-server (http://localhost:3333): Build the assets, rebuild on file change with Hot Module Replacement (HMR), and serve them by webpack-dev-server (http://localhost:3333):
```bash ```bash
yarn start yarn start:hot
# OR set a theme # OR set a theme
env GRAFANA_THEME=light yarn start env GRAFANA_THEME=light yarn start:hot
``` ```
*Note: HMR for Angular is not supported. If you edit files in the Angular part of the app, the whole page will reload.* *Note: HMR for Angular is not supported. If you edit files in the Angular part of the app, the whole page will reload.*