Skip to content
Snippets Groups Projects
Commit 2273b9b4 authored by Baptiste Lemoine's avatar Baptiste Lemoine
Browse files

:book: add Readme infos about development hot reload

parent 662f7e5b
No related branches found
No related tags found
1 merge request!28Traduction Française de duniter-ui
......@@ -8,7 +8,8 @@ Duniter graphical interface. This is a developement package which is embedded in
> Requires [Yarn](https://classic.yarnpkg.com/en/docs/install/)
```bash
npm i -g nvm yarn
npm i -g nvm yarn bower
bower install
nvm install 9
nvm use 9
yarn --pure-lockfile
......@@ -17,9 +18,12 @@ yarn --pure-lockfile
## Run
```bash
node run.js direct_webstart
firefox http://localhost:9220 &
yarn run webstart
```
or
## Dev server with hot reload on file save
```bash
node_modules/brunch/bin/brunch watch --server
firefox http://localhost:9220 &
yarn run start
```
......@@ -6,7 +6,8 @@
"build": "bower install && brunch build",
"b": "brunch build",
"watch": "brunch watch",
"start": "cd cesium && npm start",
"start": "brunch watch --server",
"cesium": "cd cesium && npm start",
"webstart": "node run.js direct_webstart",
"test": "mocha --growl tests/"
},
......@@ -55,7 +56,7 @@
"brunch": "2.10.9",
"core-util-is": "1.0.2",
"css-brunch": "2.0.0",
"duniter": "1.7.x",
"duniter": "^1.7.21",
"fb-flo-brunch": "1.7.22",
"jade-brunch": "2.0.0",
"javascript-brunch": "2.0.0",
......
......@@ -2115,9 +2115,10 @@ domain-browser@~1.1.7:
version "1.1.7"
resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.1.7.tgz#867aa4b093faa05f1de08c06f4d7b21fdf8698bc"
duniter@1.7.x:
duniter@^1.7.21:
version "1.7.21"
resolved "https://registry.yarnpkg.com/duniter/-/duniter-1.7.21.tgz#492f1a9ab6dccf22632d5cd7cd11af9a30cccfe4"
integrity sha512-4NyVGbb/ScHU96YN1f35IfT0rI0c7Ixr+fqXdAzEhr1AUJ3At5ZGroGhg5ZAGWYDXc/GRDk8nQtMbibcv8T10g==
dependencies:
"@types/leveldown" "^4.0.0"
"@types/levelup" "^3.1.0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment