mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 16:39:29 -05:00
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:
parent
8a4140d904
commit
fd5c53fad7
@ -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))
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user