client/gulpfile.js
changeset 100 537d330ad7f0
parent 91 f7a844a9079e
child 114 e4ffc4e13a8e
equal deleted inserted replaced
99:c7c424e9eed5 100:537d330ad7f0
    19 });
    19 });
    20 
    20 
    21 gulp.task('scripts', function(){
    21 gulp.task('scripts', function(){
    22     //combine all js files of the app
    22     //combine all js files of the app
    23     gulp.src(scriptsSrc)
    23     gulp.src(scriptsSrc)
    24         .pipe(plugins.jshint())
    24 //        .pipe(plugins.jshint())
    25         .pipe(plugins.jshint.reporter('default'))
    25 //        .pipe(plugins.jshint.reporter('default'))
    26         .pipe(plugins.jshint.reporter('fail'))
    26 //        .pipe(plugins.jshint.reporter('fail'))
    27         .pipe(plugins.concat('app.js'))
    27         .pipe(plugins.concat('app.js'))
    28         .pipe(gulp.dest(buildFolder+'/js'))
    28         .pipe(gulp.dest(buildFolder+'/js'))
    29         .pipe(plugins.filesize())
    29         .pipe(plugins.filesize())
    30         .on('error', gutil.log);
    30         .on('error', gutil.log);
    31 });
    31 });
   128 
   128 
   129 
   129 
   130 gulp.task('connect', function() {
   130 gulp.task('connect', function() {
   131     plugins.connect.server({
   131     plugins.connect.server({
   132         root: buildFolder,
   132         root: buildFolder,
   133         host: "0.0.0.0",
       
   134     	port: 9000,
   133     	port: 9000,
   135         livereload: true
   134         livereload: true
   136     });
   135     });
   137 });
   136 });
   138 
   137