Clean build directory before tsc task

This commit is contained in:
kiswa 2016-08-02 17:48:41 +00:00
parent ee9ebcc70c
commit 1d19687a4e

View File

@ -89,6 +89,8 @@ gulp.task('scss', () => {
});
gulp.task('tsc', () => {
del('build/');
let tsProject = tsc.createProject('tsconfig.json'),
tsResult = tsProject.src()
.pipe(tsc(tsProject));