@@ -29,7 +29,7 @@ gulp.task("testts", function () {
2929 . pipe ( gulp . dest ( "test" ) ) ;
3030} ) ;
3131
32- gulp . task ( "typescriptRelease " , function ( ) {
32+ gulp . task ( "typescript " , function ( ) {
3333 var tsResult = gulp . src ( "dev/**/*.ts" )
3434 . pipe ( typescript ( {
3535 declaration : true ,
@@ -42,7 +42,7 @@ gulp.task("typescriptRelease", function () {
4242 ] ) ;
4343} ) ;
4444
45- gulp . task ( "minifyJS" , [ "typescriptRelease " ] , function ( ) {
45+ gulp . task ( "minifyJS" , [ "typescript " ] , function ( ) {
4646 return gulp . src ( [ "dist/**/*.js" , "!dist/**/*.min.js" ] )
4747 . pipe ( minify ( {
4848 ext : {
@@ -59,26 +59,26 @@ gulp.task("minifyJS", ["typescriptRelease"], function () {
5959gulp . task ( "browsersync" , function ( ) {
6060 browsersync . init ( {
6161 proxy : {
62- target : "localhost:15222 " ,
62+ target : "localhost:15666 " ,
6363 ws : true
6464 } ,
6565 ui : {
66- port : 15224
66+ port : 15668
6767 } ,
68- port : 15223 ,
68+ port : 15667 ,
6969 open : false ,
7070 notify : false
7171 } ) ;
7272} ) ;
7373
7474gulp . task ( "server" , [ "browsersync" ] , function ( ) {
7575 connect . server ( {
76- port : 15222
76+ port : 15666
7777 } ) ;
7878
7979 gulp . watch ( "demo/**/*.ts" , [ "demots" ] ) ;
8080 gulp . watch ( "test/**/*.ts" , [ "testts" ] ) ;
81- gulp . watch ( "js /**/*.ts" , [ "typescript" ] ) ;
81+ gulp . watch ( "dev /**/*.ts" , [ "typescript" ] ) ;
8282
8383 gulp . watch ( "**/*.html" ) . on ( "change" , browsersync . reload ) ;
8484 gulp . watch ( "dist/**/*.js" ) . on ( "change" , browsersync . reload ) ;
0 commit comments