ninenines / erlang.mk

A build tool for Erlang that just works.
https://erlang.mk
ISC License
578 stars 241 forks source link

make RELOAD=1 does not work #969

Closed robinchew closed 1 year ago

robinchew commented 1 year ago

Hello,

As subject describes, make RELOAD=1 does not work. The output ends with:

{error, "Incomplete form (missing .<cr>)??"}

Tested on fresh install of Ubuntu Jammy on LXC container. Steps to reproduce while inside Ubuntu:

apt install erlang-nox wget git make curl

mkdir erlserver
cd erlserver
wget https://erlang.mk/erlang.mk
make -f erlang.mk bootstrap
make bootstrap-rel
make run

Do reload on separate terminal:

make RELOAD=1
essen commented 1 year ago

I can reproduce.

essen commented 1 year ago

OK it was because of the upgrade to Relx 4 changing things a little. Fixed, thanks! You can update Erlang.mk via make erlang-mk in your project if necessary.