vendredi 16 septembre 2016

Testing with Mocha in Yeoman Angular

I'm trying to make a serve-test task in gulp but this not show me anything.

this is my code:

gulp.task('serve-test',function(){
  browserSync.init({
    notify:false,
    port:3005,
    server:{
      baseDir:["test","app"],
      routes:{
        '/bower_components':'bower_components'
      }
    }
  });

});

and my root folder is :

enter image description here

when I execute the task , the browser open but only show me "Cannot GET /"

Any help

thanks

Aucun commentaire:

Enregistrer un commentaire