sinasamavati/leptus

Code upgrade functionality

sinasamavati opened this issue · 0 comments

We've got leptus:upgrade/0 and leptus:upgrade/1 that we can use to upgrade the cowboy dispatch env.
So, code compilation and a function call are necessary to upgrade the code.

But the idea:
Since we have those two functions, I'm thinking of adding mochiweb/reloader.erl to make it work with minimal effort.

Feedbacks and suggestions are welcome.