fix reloading for port 8000
This commit is contained in:
parent
7fadc22ce0
commit
cce26d1900
|
@ -21,16 +21,7 @@ endif
|
||||||
|
|
||||||
serve:
|
serve:
|
||||||
ifeq ($(DEBUG),1)
|
ifeq ($(DEBUG),1)
|
||||||
elm-go src/Main.elm \
|
elm-go src/Main.elm --dir=../public --start-page=index.html -- --output=../public/elm.min.js
|
||||||
--dir=../public \
|
|
||||||
--port=8000 \
|
|
||||||
--start-page=../public/index.html \
|
|
||||||
--host=localhost \
|
|
||||||
--proxy-prefix=/ \
|
|
||||||
--proxy-host=http://localhost:8080 \
|
|
||||||
-- \
|
|
||||||
--debug \
|
|
||||||
--output=../public/elm.min.js
|
|
||||||
else ifeq ($(RELEASE),1)
|
else ifeq ($(RELEASE),1)
|
||||||
$(error Cannot use serve target with RELEASE=1)
|
$(error Cannot use serve target with RELEASE=1)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue