code: function startServer() {
      var defer = q.defer();
  
      var serverConfig = {
          server: {
              baseDir: wpath,
              directory: true
          },
          startPath: 'docs/index.html',
          // browser: "google chrome",
          logPrefix: 'SERVER'
      };
      browserSync.init(serverConfig, defer.resolve);
  
      return defer.promise;
  }
docs: start a browserSync server to index.html directly