MegaRacer MegaRacer - 7 months ago 73
AngularJS Question

Gulp connect gives me cannot GET/ with angular app

I am trying to setup a simple boilerplate wth gulp, browserify,angular and node.js However, I get error of

cannot GET

Folder structure

Here's boilerplate url on github

Dan Dan

You need to change the root directory inside of your connect task to serve files from app/.

gulp.task('connect', function(){
        root: 'app',
        port: 4000