Return promise instead of done
Return promise instead of done

It appears that if you return a promise to gulp, gulp waits on the promise and catches the failed promise. By return the promise AND calling done, task completion was getting called twice.

RenovoSolutions/Gulp-Typescript-Utilities