On Sat, 05 Sep 2015 03:59:59 GMT, Louie Bacani Foronda wrote:

On Fri, 04 Sep 2015 00:33:30 GMT, bushman wrote:

Hi I'm writing a web app with vibe. I've hit on two issues that I'm hoping have obvious answers.

1/ When I build in release mode dub --build=release --parallel the whole process takes about an hour and a half on a decent machine. Is this not too long? Have I done something wrong as in debug mode it'll finish in about ten seconds or so.

2/ This one is more concerning. Some of my ajax calls return 404. They all work as they should in debug mode, however.

Thanks for any help.

dmd v2.67.1
dub v0.9.23
vib-d v0.7.23

Try using vibe-d": "~>0.7.24"

my dub.json file
it compiles well, and fast, took about 30 seconds or less...

Thanks Louie, latest vibe knocks about half an hour off the time, but the ajax errors remained. I upgraded dmd to 2.068 and the time went back up (to just over an hour) but now the app seems to work correctly (strange). I notice a bug fix dmd has just been released too that claims to address long compile times. I shall try with that shortly and see if the times come down.

Many thanks - obvious solution indeed!