Gulp connect 让我无法使用 angular 应用获取/

Gulp connect gives me cannot GET/ with angular app

我正在尝试使用 gulp、browserify、angular 和 node.js 设置一个简单的样板,但是,我收到 cannot GET 错误。

这是 github https://github.com/kushalmahajan/angular_boilerplate.git

上的样板 url

您需要更改 connect 任务中的 root 目录以提供来自 app/ 的文件。

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