After recompiling your appmod module, reload it with this command:
yaws --load your_appmod_name
That will reload the appmod into an already-running Yaws instance. You
might also consider using something like this reloader for development
purposes:
http://mochiweb.googlecode.com/svn/trunk/src/reloader.erl
--steve
On Thu, Nov 8, 2012 at 3:09 PM, <arif@...> wrote:
> Hi,
>
> I'm new to Erlang and yaws and am trying out appmods.
> Everything seems to work except that when I change something in
> appmod:out/1, I can't figure out how to get yaws to load the new beam file
> without restarting the server.
> Is there a simple way out?
>
> Thanks and best regards
> Arif Ishaq
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> _______________________________________________
> Erlyaws-list mailing list
> Erlyaws-list@...
> https://lists.sourceforge.net/lists/listinfo/erlyaws-list
>
|