fixed webui makefile

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8187 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
electron128 2015-04-29 17:18:14 +00:00
parent 8a4140d904
commit fd5c53fad7
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ HTML = index.html
JSGUI = gui.jsx JSGUI = gui.jsx
CSS = green-black.css CSS = green-black.css
all: dist $(JSEXTLIBS) $(addprefix dist/, $(JSLIBS)) $(addprefix dist/, $(HTML)) $(addprefix dist/, $(JSGUI)) $(addprefix dist/, $(CSS)) dist/livereload all: dist $(JSEXTLIBS) $(addprefix dist/, $(JSLIBS)) $(addprefix dist/, $(HTML)) $(addprefix dist/, $(JSGUI)) $(addprefix dist/, $(CSS))
.PHONY: all .PHONY: all
dist/livereload: dist $(JSEXTLIBS) $(addprefix dist/, $(JSLIBS)) $(addprefix dist/, $(HTML)) $(addprefix dist/, $(JSGUI)) $(addprefix dist/, $(CSS)) dist/livereload: dist $(JSEXTLIBS) $(addprefix dist/, $(JSLIBS)) $(addprefix dist/, $(HTML)) $(addprefix dist/, $(JSGUI)) $(addprefix dist/, $(CSS))

View File

@ -26,7 +26,7 @@ DEVELOPMENT
npm install npm install
- run Retroshare with webinterface on port 9090 - run Retroshare with webinterface on port 9090
- during development, run this command (use MinGW shell on Windows) - during development, run this command (use MinGW shell on Windows)
while true; do make --silent; sleep 1; done while true; do make dist/livereload --silent; sleep 1; done
- the command will copy the source files to the "dist" directory if they change - the command will copy the source files to the "dist" directory if they change
- it will trigger livereload at http://localhost:9090/api/v2/livereload/trigger - it will trigger livereload at http://localhost:9090/api/v2/livereload/trigger