Rikki Cattermole Posted in reply to Kingsley



Permalink Reply

On 21/02/2015 3:00 a.m., Kingsley wrote: > Hi > > Just thought I would share this in case anyone else finds it useful. I > wrote a tiny utility that detects changes to D files and then rebuilds > and re-executes the main binary using dub. > > I use for developing with vibe.d and other dub D project that have an > executable binary. > > The code is here: > > essentially you just run dub in the root and it builds the reloaded > binary. Then you just copy that binary to the root of your dub project > and ./reloaded and then as soon as you make a change to a D file your > code will be built and executed. > > --K HiJust thought I would share this in case anyone else finds it useful. Iwrote a tiny utility that detects changes to D files and then rebuildsand re-executes the main binary using dub.I use for developing with vibe.d and other dub D project that have anexecutable binary.The code is here: https:// github.com/ kingsleyh/ reloaded essentially you just run dub in the root and it builds the reloadedbinary. Then you just copy that binary to the root of your dub projectand ./reloaded and then as soon as you make a change to a D file yourcode will be built and executed.--K https:// github.com/ rikkimax/ livereload