Reputation: 257
Here is what I do, based on how I thought reload should work.
Upvotes: 1
Views: 276
Reputation: 257
I guess you have to compile first. This makes sense except that I wish then that there were a compile and reload command. In the end, I found it easier to just create an Emakefile like so:
{"rest_api/src/*", [{outdir,"rest_api/ebin"},{i, "include"}]}.
...in the same directory as the start script for my application, then run make:all([load]) as needed in the erlang shell.
Upvotes: 1