fix reloading for port 8000

This commit is contained in:
Azizul Karim 2025-01-31 16:27:51 +06:00
parent 7fadc22ce0
commit cce26d1900
No known key found for this signature in database
GPG key ID: EC7B9BE87276BA4B

View file

@ -21,16 +21,7 @@ endif
serve:
ifeq ($(DEBUG),1)
elm-go src/Main.elm \
--dir=../public \
--port=8000 \
--start-page=../public/index.html \
--host=localhost \
--proxy-prefix=/ \
--proxy-host=http://localhost:8080 \
-- \
--debug \
--output=../public/elm.min.js
elm-go src/Main.elm --dir=../public --start-page=index.html -- --output=../public/elm.min.js
else ifeq ($(RELEASE),1)
$(error Cannot use serve target with RELEASE=1)
endif