diff --git a/libresapi/src/webui/Makefile b/libresapi/src/webui/Makefile index a23562eeb..d5e8bd887 100644 --- a/libresapi/src/webui/Makefile +++ b/libresapi/src/webui/Makefile @@ -6,7 +6,7 @@ HTML = index.html JSGUI = gui.jsx 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 dist/livereload: dist $(JSEXTLIBS) $(addprefix dist/, $(JSLIBS)) $(addprefix dist/, $(HTML)) $(addprefix dist/, $(JSGUI)) $(addprefix dist/, $(CSS)) diff --git a/libresapi/src/webui/README.md b/libresapi/src/webui/README.md index 1108406b8..55348b15d 100644 --- a/libresapi/src/webui/README.md +++ b/libresapi/src/webui/README.md @@ -26,7 +26,7 @@ DEVELOPMENT npm install - run Retroshare with webinterface on port 9090 - 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 - it will trigger livereload at http://localhost:9090/api/v2/livereload/trigger