sol / reserve

Universal and robust reloading for Haskell web applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is NFS supported?

superduper opened this issue · comments

Hi, @sol

Does reserve work with NFS?
My setup contains a docker container and a reserve running inside it. Code is located on a shared volume that is mounted inside docker.

Will it react on source modifications inside src/, or only src/Main.hs?

Thanks.

Currently reserve does something equivalent to a :reload in GHCi before serving each request. For that reason you should always end up with the latest version of your code. I imagine NFS should work, as long as your changes are visible inside the container before you do the request.

Cheers.

Sent from my iPhone

On 13 Mar 2015, at 11:46 pm, Victor Miroshnikov notifications@github.com wrote:

Hi, @sol

Does reserve work with NFS?
My setup contains a docker container and a reserve running inside it. Code is located on a shared volume that is mounted inside docker.

Will it react on source modifications inside src/, or only src/Main.hs?

Thanks.


Reply to this email directly or view it on GitHub.

@sol,
I made an experiment with my setup and it worked! :) Now I can edit code in OS X and have it auto-recompiled inside production environment. This is awesome. Thanks for making reserve.

You are welcome. Remember that this is experimental (in particular, it may not work that well if you have many concurrent requests).

On 14 Mar 2015, at 10:51 am, Victor Miroshnikov notifications@github.com wrote:

@sol,
I made an experiment with my setup and it worked! :) Now I can edit code in OS X and have it auto-recompiled inside production environment. This is awesome. Thanks for making reserve.


Reply to this email directly or view it on GitHub.