@@ -30,20 +30,20 @@ gulp.task('build:server', function () {
3030 var tsProject = tsc . createProject ( 'server/tsconfig.json' ) ;
3131 var tsResult = gulp . src ( 'server/src/**/*.ts' )
3232 . pipe ( sourcemaps . init ( ) )
33- . pipe ( tsc ( tsProject ) )
33+ . pipe ( tsProject ( ) ) ;
3434 return tsResult . js
3535 . pipe ( sourcemaps . write ( ) )
36- . pipe ( gulp . dest ( 'dist/server' ) )
36+ . pipe ( gulp . dest ( 'dist/server' ) ) ;
3737} ) ;
3838
3939gulp . task ( 'build:client' , function ( ) {
4040 var tsProject = tsc . createProject ( 'client/tsconfig.json' ) ;
4141 var tsResult = gulp . src ( 'client/**/*.ts' )
4242 . pipe ( sourcemaps . init ( ) )
43- . pipe ( tsc ( tsProject ) )
43+ . pipe ( tsProject ( ) ) ;
4444 return tsResult . js
4545 . pipe ( sourcemaps . write ( ) )
46- . pipe ( gulp . dest ( 'dist/client' ) )
46+ . pipe ( gulp . dest ( 'dist/client' ) ) ;
4747} ) ;
4848
4949/**
@@ -62,7 +62,7 @@ gulp.task('tslint', () => {
6262gulp . task ( "compile" , [ "tslint" ] , ( ) => {
6363 let tsResult = gulp . src ( "client/**/*.ts" )
6464 . pipe ( sourcemaps . init ( ) )
65- . pipe ( tsc ( tsProject ) ) ;
65+ . pipe ( tsProject ( ) ) ;
6666 return tsResult . js
6767 . pipe ( sourcemaps . write ( "." ) )
6868 . pipe ( gulp . dest ( "dist/client" ) ) ;
@@ -129,7 +129,7 @@ gulp.task('start', function () {
129129 , tasks : [ 'tslint' ]
130130 } )
131131 . on ( 'restart' , function ( ) {
132- console . log ( 'restarted!' )
132+ console . log ( 'restarted!' ) ;
133133 } ) ;
134134} ) ;
135135
@@ -157,7 +157,7 @@ gulp.task('watch', function () {
157157 gulp . watch ( [ "client/**/*.html" , "client/**/*.css" ] , [ 'clientResources' ] ) . on ( 'change' , function ( e ) {
158158 console . log ( 'Resource file ' + e . path + ' has been changed. Updating.' ) ;
159159 } ) ;
160-
160+
161161 gulp . watch ( [ "server/src/**/*.ts" ] , [ 'compile' ] ) . on ( 'change' , function ( e ) {
162162 console . log ( 'TypeScript file ' + e . path + ' has been changed. Compiling.' ) ;
163163 } ) ;
0 commit comments